lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Phrase indexing and searching with Lucene
Date Wed, 18 Feb 2009 13:10:20 GMT
Have you tried the built-in phrase processing with double quotes? e.g.
"this is a phrase"?

See the Term section at
http://lucene.apache.org/java/2_4_0/queryparsersyntax.html

Best
Erick

On Wed, Feb 18, 2009 at 5:57 AM, Nada Mimouni <
mimouni@tk.informatik.tu-darmstadt.de> wrote:

>
>
> Hello everybody,
>
> I use Lucene to index and search into text documents.
> At present, I just index and search for single words. I want to extend this
> to phrases (or nGrams).
>
> Could anyone please give me details on how to index phrases and then make a
> phrase search?
>
> Thank you very much in advance for your help.
>
> Nada Mimouni
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

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