lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Trivial Update of "LuceneFAQ" by JonathanHayward
Date Thu, 27 Dec 2007 16:08:51 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by JonathanHayward:

  Parse your query using [
MultiFieldQueryParser]. Note that terms which occur in short fields have a higher effect on
  the result ranking. Also !MultiFieldQueryParser builds queries that sometimes behave unexpectedly,
- namely for AND queries: it requires alls terms to appear in ''all'' field. This is not what
one typically
+ namely for AND queries: it requires all terms to appear in ''all'' fields. This is not what
one typically
  wants, for example in a search over "title" and "body" fields (Lucene 1.9 fixes this problem).
  Alternatively you could create a field which concatenates the content you would like to
search and

View raw message