Re: TermRangeQuery work not

2015-12-21 Thread Uwe Schindler
Hi, Your addDoc method indexes wrong contents for the date field. It uses some field named ISBN. Uwe Am 22. Dezember 2015 00:19:10 MEZ, schrieb kaog : >Hi i am kevin from Chile and i am new whit Lucene, > >I have 5 documents. Each document has a field date but i would search >on >range date wh

TermRangeQuery work not

2015-12-21 Thread kaog
Hi i am kevin from Chile and i am new whit Lucene, I have 5 documents. Each document has a field date but i would search on range date whit TermRangeQuery . Total structure is looking like this: public static void main(String[] args) throws IOException, ParseException { StandardAnalyzer a