lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John john <>
Subject Search Numerical Field
Date Fri, 28 Jul 2006 13:36:19 GMT
 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?
 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
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message