Hi,

Document ID would be a field in your document.  A unique field that you
specify when indexing.
You can collect it by telling Solr to return it in the search results by
including it in the &fl=.... parameter.

Otis
--
Performance Monitoring - http://sematext.com/spm/index.html
Search Analytics - http://sematext.com/search-analytics/index.html




On Mon, Nov 19, 2012 at 9:31 PM, Romita Saha
<romita.s...@sg.panasonic.com>wrote:

> Hi,
>
> Thanks for your guidance. I am unable to figure out what is a doc ID and
> how can i collect all the doc IDs.
>
> Thanks and regards,
> Romita Saha
>
>
>
> From:   Otis Gospodnetic <otis.gospodne...@gmail.com>
> To:     solr-user@lucene.apache.org,
> Date:   11/09/2012 12:33 AM
> Subject:        Re: is it possible to save the search query?
>
>
>
> Hi,
>
> Aha, I think I understand.  Yes, you could collect all doc IDs from each
> query and find the differences.  There is nothing in Solr that can find
> those differences or that would store doc IDs of returned hits in the
> first
> place, so you would have to implement this yourself.  Sematext's Search
> Analytics service maaaay be of help here in the sense that all data you
> need (queries, doc IDs, etc.) are collected, so it would be a matter of
> providing an API to get the data for off-line analysis.  But this data
> collection+diffing is also something you could implement yourself.  One
> thing to think about - what do you do when a query returns a laaaarge
> number of hits.  Do you really want/need to get IDs for all of them, or
> only a page at a time.
>
> Otis
> --
> Search Analytics - http://sematext.com/search-analytics/index.html
> Performance Monitoring - http://sematext.com/spm/index.html
>
>
> On Thu, Nov 8, 2012 at 1:01 AM, Romita Saha
> <romita.s...@sg.panasonic.com>wrote:
>
> > 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