edismax - ignore/override qf field?

2013-12-17 Thread ses
With the edismax query handler, is it possible to provide a query parameter which will specify a field (already defined in the qf parameter in solrconfig.xml) to ignore. E.g. can you tell Solr to not search a specific field? An example may be where in solrconfig.xml qf is configured to search:

Re: PostingsHighlighter returning fields which don't match

2013-08-15 Thread ses
Thanks, we tried modifying the source as suggested but found in our case PostingsHighlighter was returning no highlighting at all once we removed the self-closing tags. I think perhaps we were not using it in the correct way. Robert Muir wrote Do you want to open a JIRA issue to just change the

PostingsHighlighter returning fields which don't match

2013-08-14 Thread ses
We are trying out the new PostingsHighlighter with Solr 4.2.1 and finding that the highlighting section of the response includes self-closing tags for all the fields in hl.fl (by default for edismax it is all fields in qf) where there are no highlighting matches. In contrast the same query on Solr

Total number of hits within all documents

2012-11-28 Thread ses
I'm trying to find a way to retrieve from a Solr query the total number of hits for a query across all documents. I'm using an edismax query handler which searches across several fields (specified in the schema.xml). I have tried: /solr/my_core/keyword?q=knights of

Re: Total number of hits within all documents

2012-11-28 Thread ses
Unfortunately a vague specification is all I have, due to the fact I am trying to replicate the functionality in a closed-source legacy search product. I suspect no-one at the company knows precisely how this works. The purpose is ultimately to display to the user the entire number of 'hits'