Re: Return docs with only the matched fields for a query

2016-07-12 Thread Walter Underwood
I’m not sure you need a custom component. Try using the standard highlighter. Configure hl.simple.pre and hl.simple.post to be empty strings. Configure it to return one maximum length snippet. That should return the entire matching fields, though I haven’t tested it. wunder Walter Underwood wun

Re: Return docs with only the matched fields for a query

2016-07-12 Thread cole worldforsolr
Hi Josium, Have to try something like this http://localhost:8983/solr/mycollection/select?fq=Hobbit:*&indent=on&q=*:*&wt=json This will return all documents that contain the field Hobbit ONLY. Well, I'm not very sure to understand what you seeking for, excuse me if my answer is out of topic. Be

Return docs with only the matched fields for a query

2016-07-12 Thread Prasanna Josium
Hi all, My requirement is in line with https://issues.apache.org/jira/browse/SOLR-3955 I'm working on a project that has very low network bandwidth for the clients. I'm using Solr 4.10 The problem: I have ~ 1M documents with multiple fields(~50), many of them are indexed, stored and some of