Presumably your custom filter is in a jar file. Drop that jar file in
<solr_home>/lib
and refer it from your schema.xml file by its full name
(e.g. com.yourcompany.filter.yourcustomfilter) just like the other filters
and it should
work fine.

You can also put your jar anywhere you'd like and alter solrconfig.xml with
an
addition al <lib... tag in the <config> section (see the example
solrconfig.xml).

Best
Erick

On Tue, Jan 25, 2011 at 12:07 PM, Valiveti <narasimha.valiv...@gmail.com>wrote:

>
> Hi ,
>
> I have written a lucene custom filter.
> I could not figure out on how to configure Solr to pick this custom filter
> for search.
>
> How to configure Solr to pick my custom filter?
> Will the Solr standard search handler pick this custom filter?
>
> Thanks,
> Valiveti
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-Configure-Solr-to-pick-my-lucene-custom-filter-tp2331928p2331928.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to