Re: Best way to implement Spotlight of certain results

2015-01-13 Thread Dan Davis
Maybe I can use grouping, but my understanding of the feature is not up to figuring that out :) I tried something like http://localhost:8983/solr/collection/select?q=childhood+cancergroup=ongroup.query=childhood+cancer Because the group.limit=1, I get a single result, and no other results. If I

Re: Best way to implement Spotlight of certain results

2015-01-09 Thread MichaƂ B . .
Maybe I understand you badly but I thing that you could use grouping to achieve such effect. If you could prepare two group queries one with exact match and other, let's say, default than you will be able to extract matches from grouping results. i.e (using default solr example collection)

Best way to implement Spotlight of certain results

2015-01-09 Thread Dan Davis
I have a requirement to spotlight certain results if the query text exactly matches the title or see reference (indexed by me as alttitle_t). What that means is that these matching results are shown above the top-10/20 list with different CSS and fields. Its like feeling lucky on google :) I

Re: Best way to implement Spotlight of certain results

2015-01-09 Thread Erick Erickson
Hmm, I wonder if the RerankingQueryParser might help here? See: https://cwiki.apache.org/confluence/display/solr/Query+Re-Ranking Best, Erick On Fri, Jan 9, 2015 at 10:35 AM, Dan Davis dansm...@gmail.com wrote: I have a requirement to spotlight certain results if the query text exactly matches