lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murdoch, Paul" <PAUL.B.MURD...@saic.com>
Subject Phrase Search and NOT_ANALYZED
Date Wed, 24 Feb 2010 20:51:24 GMT
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