First, the obvious question: What kind of information? Be specific.

Second, you can pass parameters to your filter factory in your field type definitions. You could have separate schemas or separate field types for the different indexes. Is there anything this doesn't cover?

You can also provide an "update processor" that could supply whatever parameters you want.

-- Jack Krupansky

-----Original Message----- From: ksu wildcats
Sent: Monday, August 20, 2012 1:19 PM
To: solr-user@lucene.apache.org
Subject: Solr Custom Filter Factory - How to pass parameters?

We are using SOLR and are in the process of adding custom filter factory to
handle the processing of words/tokens to suit our needs.

Here is what our custom filter factory does
1) Reads the tokens and does some analysis and writes the result of analysis
to database.

We are using Embedded Solr with multi-core (separate core for each index).

We have Custom Filter Factory information configured in the Schema.xml

The problem we are running into is - not able to pass parameters to our
custom filter factory.
We need to be able to pass some additional information (index specific and
this would be different for each index) to our custom filter factory.

Can anyone please tell if this is possible with Solr or do we need to switch
back to using Lucene-APIs?

Thanks
-K



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Custom-Filter-Factory-How-to-pass-parameters-tp4002217.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to