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.
|