|Hello, I have the following query problem.

With the below code,|| the query
"\\[prop\\]voila\\:type:RE" works well
but
"\\[prop\\]voila\\:type:IS" does not return any value (Hits size is 0)
The document was though added to the index (I can retrieve the IS document with some other query and the field was well popultated with "IS" value).
Any clue?


||
Document doc = new Document();
doc.add(new Field("[prop]voila:type", "IS", Field.Store.YES, Field.Index.TOKENIZED));
...
writer.addDocument(doc);

doc = new Document();
doc.add(new Field("[prop]voila:type", "RE", Field.Store.YES, Field.Index.TOKENIZED));
...
writer.addDocument(doc);


|

Reply via email to