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 "Rosa (Anuncios)" <ro...@gmail.com> on 2011/02/26 23:12:16 UTC
Blacklist keyword list on dataimporter
Hi,
Is there a way to drop document when indexing based of a blacklist
keyword list?
Something like the stopwords.txt...
But in this case when one keyword is detected in a specific field at
indexing, the whole doc would be skipped.
Regards
Re: Blacklist keyword list on dataimporter
Posted by Lance Norskog <go...@gmail.com>.
The basic Solr document ingestion process does not currently support this.
In the DataImportHandler you can configure it to skip any document
that fails a processor. You would have to write your own processor
that hunts for that word and throws an exception.
On Sat, Feb 26, 2011 at 2:12 PM, Rosa (Anuncios)
<ro...@gmail.com> wrote:
> Hi,
>
> Is there a way to drop document when indexing based of a blacklist keyword
> list?
>
> Something like the stopwords.txt...
>
> But in this case when one keyword is detected in a specific field at
> indexing, the whole doc would be skipped.
>
> Regards
>
>
>
--
Lance Norskog
goksron@gmail.com