Either don't send the document to Solr the first place or implement a custom update processor that uses whatever criteria you want to ignore undesirable documents.

-- Jack Krupansky

-----Original Message----- From: Jorge Luis Betancourt Gonzalez
Sent: Thursday, December 06, 2012 3:39 PM
To: solr-user@lucene.apache.org
Subject: Prevent indexing documents with some terms

Hi:

Is there any way that I can prevent a document from being indexed? I've a separated core only for query suggestions, this queries are stored right from the frontend app, so I'm trying to prevent some kind of bad intended queries to be stored in my query, but keeping the logic of what I consider "bad intended" out of the fronted application. The stop words only prevent to store some words in the index, but there is any way of prevented the storing of the whole document?

Greetings!
10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

Reply via email to