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
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
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
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
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
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