Re: Searching multiple indexes

2006-06-23 Thread Karel Tejnora
Hi, there are two ways. The first is to use MultiFieldQueryParser http://lucene.apache.org/java/docs/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html or do an extra step in indexing to build a new field as join of those (e.g. StringBuffer append f1 append f2 ...) Benefits of the

Searching multiple indexes

2006-06-23 Thread Rod.Madden
I have "Tokenized" multiple items into one index directory as illustrated below. I can successfully search on any one indexed field ( as illustrated below ) ...the question is how would I search on all my indexed fields at one ...any ideas ? I have heard of MultiSearch but I am not sure if that

RE: Can't open index

2006-06-23 Thread Charles.Sanders
I had this same problem. I began calling IndexWriter.setUseCompoundFile(true) when I open an IndexWriter and before I index. Since I have used this method call, I have not seen the problem again. Hope this helps. -Original Message- From: WATHELET Thomas [mailto:[EMAIL PROTECTED] Sent

Conflicts with Stemming and Wildcard / Prefix Queries

2006-06-23 Thread Brian Caruso
I was having a problem with wildcard and prefix queries not returning hits on a stemmed field. To solve this I overrode QueryParser to have a HashMap of stemmed field name -> unstemmed field name and then used that map when constructing WildcardQueries and PrefixQueries. Now I have a Stemmed vers

Re: A Special SpanQuery

2006-06-23 Thread Paul Elschot
On Friday 23 June 2006 00:15, Chris Hostetter wrote: > > I don't really use Span queries, but this strieks me as being very similar > to past discussions about using Span queries along with "sentinel" terms > to find words in the same sentence or paragraph. > > If you had a a special Term indexed

Re: Searching repeating fields

2006-06-23 Thread Paul Elschot
On Thursday 22 June 2006 21:18, Subodh Damle wrote: > Hi all. > > We've been using Lucene to index our dynamic data structure and so far > Lucene has been flexible enough to accommodate our requirements. > > Now we have this requirement about searching repeating fields, whose > implementation i