lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Diviacco <patrick.divia...@gmail.com>
Subject Am I correctly parsing the strings ? Terms or Phrases ?
Date Mon, 21 Mar 2011 16:00:35 GMT
I'm new to Lucene. If I use

    description = new TermQuery(new Term("description", "my string"));

I ask Lucene to consider "my string" as unique word, right ?

I actually need to consider each word, should I use PhraseQuery instead ? Or
is it correct ?

thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message