Re: Query ReRanking question

2014-09-06 Thread Ravi Solr
Joel, I just removed the "score" from "fl" and the results still are the same as before. So score is not causing the good results, Maybe I got lucky and chanced on a ReRanking + Sort bug which is working to my advantage ?? :-) The sort should have applied to the main query and then only shoul

Re: Query ReRanking question

2014-09-06 Thread Ravi Solr
Joel, that was exactly what I was thinking too, that is why I wanted to know the explanation. Anyway, I will modify the "fl" and report. This is getting interesting :-) Thanks Ravi Kiran Bhaskar On Sat, Sep 6, 2014 at 3:58 PM, Joel Bernstein wrote: > This folllowing query: > > http://localhos

Combine Solr with ABAP/SAP

2014-09-06 Thread nakkili
Hi I was looking for some way to connect solr with SAP R/3 tables.. Have u been able to do that.. if so can you please share any documents Regards Nagaraj akkili

Re: Query ReRanking question

2014-09-06 Thread Joel Bernstein
What may be happening here: http://localhost:8080/solr/select?q=malaysian airline crash&rq={!rerank reRankQuery=$rqq reRankDocs=1000}&rqq=*:*&sort=publish_date desc&fl=headline,publish_date,score Because the fl is requesting the score, possibly the scores are being tracked in the initial query e

Re: How to solve?

2014-09-06 Thread Bill Bell
Yeah we already use it. I will try to create a custom functionif I get it to work I will post. The challenge for me is how to dynamically match and add them based in the faceting. Here is a better example. The doctor core has payload as name:val. The "name" are doctor specialties. I need

Re: Query ReRanking question

2014-09-06 Thread Joel Bernstein
This folllowing query: http://localhost:8080/solr/select?q=malaysian airline crash&rq={!rerank reRankQuery=$rqq reRankDocs=1000}&rqq=*:*&sort=publish_date desc&fl=headline,publish_date,score Is doing the following: The main query is sorted by publish_date. Then the results are reranked by *:*, w

Re: Query ReRanking question

2014-09-06 Thread Walter Underwood
If you are using “bq”, that is a problem. An additive boost does not work well. If items are very popular, it overrides everything, if items are not so popular, it does nothing. You need to use “boost” in edismax, a multiplicative boost. That works regardless of the magnitudes. Example from my

Re: Query ReRanking question

2014-09-06 Thread Erick Erickson
Ravi: bq: It is as if the sort is applied after the docs are collected Exactly, the primary query is getting the top 1,000 documents ranked by relevance. Then it's sending those through the reranking query, i.e. sorting them by date. I kind of question whether you really want 1,000 docs to be re-

Re: How to solve?

2014-09-06 Thread Erick Erickson
Here's a blog with an end-to-end example. Jack's right, it takes some configuration and having first-class support in Solr would be a good thing... http://searchhub.org/2014/06/13/end-to-end-payload-example-in-solr/ Best, Erick On Sat, Sep 6, 2014 at 10:24 AM, Jack Krupansky wrote: > Payload re

Re: Query ReRanking question

2014-09-06 Thread Ravi Solr
Erick, Your idea about reversing Joel's suggestion seems to give the best results of all the options I tried...but I cant seem to understand why. I thought the query shown below should give irrelevant results as sorting by date would throw relevancy off...but somehow its getting relevant re

Re: How to solve?

2014-09-06 Thread Jack Krupansky
Payload really don't have first class support in Solr. It's a solid feature of Lucene, but never expressed well in Solr. Any thoughts or proposals are welcome! (Hmmm... I wonder what the good folks at Heliosearch have up their sleeves in this area?!) -- Jack Krupansky -Original Message-