Without java coding, you cannot filter on things that aren't in your
index. You would need to re-index the document, but maybe you could make
use of atomic updates to just change the hidden field without needing to
push the whole document again.

Upayavira

On Fri, Mar 8, 2013, at 11:40 AM, lboutros wrote:
> Dear all,
> 
> I would like to mark documents as hidden.
> I could add a field "hidden" and pass the value to "true", but the whole
> documents will be reindexed. 
> And External file fields are not searchable.
> I could store the document keys in an external database and filter the
> result with these ids. But if I have some millions of hidden documents, I
> don't think it is a great idea.
> 
> Currently I will reindex the documents, but if someone has a better idea,
> any help will be appreciated.
> 
> Ludovic.
> 
> 
> 
> -----
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Mark-document-as-hidden-tp4045756.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to