Re: Create Best Query For My Case

2018-08-28 Thread thturk
Occur.MUST is working but problem for my case is when Occur.SHOULD wont return any result then total result will be Occur.MUST 's all result which is a huge resultset. I want my query to return all matched with given search and with speed as possible. in my records my speed is slower then it

Re: Any way to improve document fetching performance?

2018-08-28 Thread alex stark
I simple tried MultiDocValues.getBinaryValues to fetch result by doc value, it improves a lot, 2000 result takes only 5 ms. I even encode all the returnable fields to binary docvalues and then decode them, the results is also good enough. It seems store field is not perform well In our

Re: Create Best Query For My Case

2018-08-28 Thread baris . kazar
Are You using MultiFieldQueryParser? i see similar behavior for that parser. That is why i asked for your query string, lets look at Your query string and which parser You are using. Best regards On 8/28/18 8:02 AM, thturk wrote: Occur.MUST is working but problem for my case is when

Re: Any way to improve document fetching performance?

2018-08-28 Thread Erick Erickson
bq. It seems store field is not perform well. Stored fields perform exactly as intended. Consider the situation where very large text fields are stored. Making those into something like docValues would be a very poor tradeoff, even if it were possible. Not to mention highlighting etc. There are