Re: Search Numerical Field

2006-07-28 Thread Erick Erickson
I'd really advise getting a copy of Luke to inspect your index as a first step. I've been surprised a number of times by what really got in my index. You might also try using a WhitespaceAnalyzer instead of StandardAnalyzer, that's the most basic analyzer available. I'm not sure whether individua

Re: Search Numerical Field

2006-07-28 Thread Doron Cohen
John john <[EMAIL PROTECTED]> wrote on 28/07/2006 06:36:19: > 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 StandardA

Search Numerical Field

2006-07-28 Thread John john
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