I'm sorry, I didn't explain my case clearly. My Index base should stay the 
same. User run query, and each time he runs query he wants to suppress his own 
IDs.
The example will be a merchant, who sell books. He sell only fantasy books and 
he wants to see all fantasy books in stock of wholesaler except books he 
already has in his own stack. So he provides a list of books he already has and 
want them to be excluded from his search result.
So suppression is per query actually (it would be better to say per user's 
session, but since Solr has no sessions I'd say per query).
Obviously other book shop has his own book list and his own query and he wants 
to search and suppress from the same index base of wholesaler.


----- Original Message ----
From: Siegfried Goeschl <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Monday, April 7, 2008 12:02:18 PM
Subject: Re: how to suppress result

 Hi Evgeniy

+) delete the documents if you really don't need need them
+) create a field "ignored" and build an appropriate query to exclude 
the documents where 'ignored' is true

Cheers,

Siegfried Goeschl

Evgeniy Strokin wrote:
> Hello,.. I have odd problem.
> I use Solr for regular search, and it works fine for my task, but my client 
> has a list of IDs in a flat separate file (he could have huge amount of the 
> IDs, up to 1M) and he wants to exclude those IDs from result of the search.
> What is the right way to do this?
>
> Any thoughts are greatly appreciated.
> Thank you
> Gene
>
>
>   



Reply via email to