IndexReader returns all fields, but IndexSearcher does not

2015-06-01 Thread Rahul Kotecha
Hi All, I am trying to query an index. When I try to read the index using IndexReader, I am able to print all the fields (close to 30 fields stored) in the index. However, when I run a query on the same index using IndexSearcher, I am able to get only a couple of fields instead of all the field

Phrase Query - Increment Position

2015-06-01 Thread patel mrugesh
Hi, I am facing an issue with phrase query and increment Position. I have tried following queries and although there were data, 0 result returned. 2) Search Query --> name:"at&t inc" Parsed Query --> +name:"at&t inc" Result return  = 0 Term Vector =       No.