Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Mikhail Khludnev
Here is a trick fl=field(color). It either hit docvalues, or swallow plenty of heap for field cache uninvertion. On Fri, Dec 30, 2016 at 11:01 PM, Jichi Guo wrote: > Hi everyone, > > > > I found it convenient to debug Solr search results if I mark all fields to > be > "stored=true" in schema. >

Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Erick Erickson
For this specific case, you can use explainOther=id: That will return the debug data for whatever ID you specify even if it is not a hit. This is most useful when the reason is that the doc didn't score high enough. It can be somewhat unhelpful if you don't have terms that match since it returns

Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Alexandre Rafalovitch
Are you trying to examine an individual document or some sort of bulk? I sometimes facet on a field because that gives me the indexed representation of it. There is also Luke to look at the raw index if you want to really dig in. Regards, Alex. http://www.solr-start.com/ - Resources for S

Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Jichi Guo
Hi everyone, I found it convenient to debug Solr search results if I mark all fields to be "stored=true" in schema. For example, given a document, I could check why it is not returned in a query with debug=true. But in production, most of the fields have "stored=false" for performance re