You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by occurred <sc...@infodienst-ausschreibungen.de> on 2011/08/31 11:02:50 UTC

Find out why a document wasn't found

Hi,

I'm looking for a solution to find out why a specific document wasn't found
with my search query.

This should be a solution which can be included in our application to show
the customers how to rework their search queries.

My first idea was:
Search with the query and add to it the document id, then delete the search
terms till the document was found...

It's just a starting idea, but maybe one has a better idea or there is
allready a plugin existing? ;-)

cheers
Charlie

--
View this message in context: http://lucene.472066.n3.nabble.com/Find-out-why-a-document-wasn-t-found-tp3297821p3297821.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Find out why a document wasn't found

Posted by Erick Erickson <er...@gmail.com>.
For a specific document, try explainOther, see:
http://wiki.apache.org/solr/SolrRelevancyFAQ#Why_doesn.27t_document_id:juggernaut_appear_in_the_top_10_results_for_my_query

Don't quite know whether this will work for your users, you may have to
massage the output to make something more concise. But the information
should be there.

Best
Erick

On Wed, Aug 31, 2011 at 5:37 AM, occurred
<sc...@infodienst-ausschreibungen.de> wrote:
> Hi Oleg,
>
> ah, maybe there is a misunderstanding.
> With document I meant a record in the index not a file.
> The records are indexed via a DB.
>
> cheers
> Charlie
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Find-out-why-a-document-wasn-t-found-tp3297821p3297875.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: Find out why a document wasn't found

Posted by occurred <sc...@infodienst-ausschreibungen.de>.
Hi Oleg,

ah, maybe there is a misunderstanding.
With document I meant a record in the index not a file.
The records are indexed via a DB.

cheers
Charlie

--
View this message in context: http://lucene.472066.n3.nabble.com/Find-out-why-a-document-wasn-t-found-tp3297821p3297875.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Find out why a document wasn't found

Posted by Oleg Tikhonov <ol...@gmail.com>.
Hi,
why don't you index the file metadata, i.e. file name for instance. So when
file's metadata is indexed you could start querying by file name.

BR,
Oleg

On Wed, Aug 31, 2011 at 12:02 PM, occurred <
schaubmair@infodienst-ausschreibungen.de> wrote:

> Hi,
>
> I'm looking for a solution to find out why a specific document wasn't found
> with my search query.
>
> This should be a solution which can be included in our application to show
> the customers how to rework their search queries.
>
> My first idea was:
> Search with the query and add to it the document id, then delete the search
> terms till the document was found...
>
> It's just a starting idea, but maybe one has a better idea or there is
> allready a plugin existing? ;-)
>
> cheers
> Charlie
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Find-out-why-a-document-wasn-t-found-tp3297821p3297821.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>