You can certainly save the results themselves yourself as well as the explanations for scoring and then compare them yourself. Add &debugQuery=true to your query and there will be an "explain" section that gives all the values used in computing the scores of the top documents.

-- Jack Krupansky

-----Original Message----- From: Romita Saha
Sent: Wednesday, November 07, 2012 10:01 PM
To: solr-user@lucene.apache.org
Subject: Re: is it possible to save the search query?

Hi,

The following is the example;
1st query:

http://localhost:8983/solr/db/select/?defType=dismax&&debugQuery=on&q=cashier2&qf=data^2
id&start=0&rows=11&fl=data,id

Next query:

http://localhost:8983/solr/db/select/?defType=dismax&&debugQuery=on&q=cashier2&qf=data
id^2&start=0&rows=11&fl=data,id

In the 1st query the the field 'data' is boosted by 2. However may be the
user was not satisfied with the response. Thus in the next query he
boosted the field 'id' by 2.

I want to record both the queries and compare between the two, meaning,
what are the changes implemented on the 2nd query which are not present in
the previous one.

Thanks and regards,
Romita Saha



From:   Otis Gospodnetic <otis.gospodne...@gmail.com>
To:     solr-user@lucene.apache.org,
Date:   11/08/2012 01:35 PM
Subject:        Re: is it possible to save the search query?



Hi,

Compare in what sense?  An example will help.

Otis
--
Performance Monitoring - http://sematext.com/spm
On Nov 7, 2012 8:45 PM, "Romita Saha" <romita.s...@sg.panasonic.com>
wrote:

Hi All,

Is it possible to record a search query in solr and then compare it with
the previous search query?

Thanks and regards,
Romita Saha


Reply via email to