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 Search and NOT_ANALYZED
Date Wed, 24 Feb 2010 21:22:51 GMT
What does Luke's explain show you? That'll show you a lot about how
the query gets transformed......

My first guess is that stop words are messing you up....

Erick

On Wed, Feb 24, 2010 at 3:51 PM, Murdoch, Paul <PAUL.B.MURDOCH@saic.com>wrote:

> Hi,
>
>
>
> I'm indexing a field using the StandardAnalyzer 2.9.
>
>
>
> field = new Field(fieldName, fieldValue, Field.Store.YES,
> Field.Index.NOT_ANALYZED);
>
>
>
> Let's say fieldName is "name" and fieldValue is "something in the
> index".  When I perform the query...
>
>
>
> name:"something in the index"
>
>
>
> ... I don't get a hit.  I'm using the StandardAnalyzer for searching.
> I've tested this with Luke and it doesn't work there either.  What am I
> missing?
>
>
>
> Thanks,
>
>
>
> Paul
>
>
>
>

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