RE: How to make each term of query appear in at least one field of multiple field query

2009-10-19 Thread Rich Livingstone
Good idea, Steve, thanks for that. It could end up being a very large query, though, and my search is even more complicated by the fact I have to do synonym expansion on the search too so +(field1:term1^field1boost field2:term1^field2boost ...) +(field1:term2^field1boost field2:term2^field2boost

Re: JDBC access to a Lucene index

2009-10-19 Thread Marcelo Ochoa
Hi Zukka: This is similar approach to Lucene Domain Index: http://docs.google.com/Doc?id=ddgw7sjp_54fgj9kg But Lucene Domain Index is an specific implementation for Oracle Databases 10g/11g which is integrated through the ODCI API and replacing the Lucene file system storage by a BLOB storag

RE: How to make each term of query appear in at least one field of multiple field query

2009-10-19 Thread Steven A Rowe
Hi Rich, On 10/17/2009 at 4:24 PM, Rich Livingstone wrote: > I am a bit stumped by how to ensure that, where there are multiple > terms in my query, that each term must appear at least once across > all specified fields of my document. You can create a MUST clause for each term, with a boosted SH

Re: Lucene 2.9.0 leaves too many .cfs files open, causing too many files open java error.

2009-10-19 Thread Grant Ingersoll
On Oct 18, 2009, at 1:47 PM, GlenAbbeyDrive wrote: I commit the IndexWriter every 200 documents in a batch as follows and you can see that I reopened the reader after the commit. private void commit(IndexWriter writer) throws CorruptIndexException { writer.commit();