lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John john <ze_barb...@yahoo.fr>
Subject Search Numerical Field
Date Fri, 28 Jul 2006 13:36:19 GMT
Hello, 
 
 I tried to add a field like that
  field = new Field("number", "1", Field.Store.YES,Field.Index.UN_TOKENIZED);
 
 so i should be indexed and to analyzed? my writer is 
 writer = new IndexWriter(INDEX_DIR, new StandardAnalyzer(), true);
 
 but according to the javadoc it should be alright and searching with "number:1" should return
resultats? Where i'm wrong?
 
 Thanks
 
 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo!
Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez
ici. 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message