Hi folks!
I needed something like this...
I have a sentence: "I love my dog".
Someone has a code that I can transform this sentence in Terms to add in a
PhraseQuery ?
PhraseQuery pq = new PhraseQuery();
while ( <sentence doesn't ended> ) query.add(new Term("field", text));
Adapt from AnalysisDemo here: http://today.java.net/pub/a/today/2003/07/30/LuceneIntro.html
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]