This kind of thing doesn't lend itself to OOB filters, I'd recommend
one of two approaches:
1> put the logic in your indexing process, easy if you use SolrJ
2> create a custom element to an updateRequestProcessorChain
     that modifies the document. This seems daunting, but it's
     actually quite easy, the solrconfig.xml has some hints. The key
     here is that you just have a map that has all the field:value pairs
     and you can do whatever you want with it.

Best
Erick

On Tue, Oct 16, 2012 at 12:37 PM, darul <daru...@gmail.com> wrote:
> Hello all,A long time I have not posted, but do not worry I am still using
> Solr everyday and enjoy it.Here the details of my requirement:According to a
> specific content with "dates", "number", (maybe number%), we would like to
> *skip number* and *keep dates (+number%)* in indexation process. Do you see
> a common way to achieve this with provided analysers or charfilter
> (PatternReplaceCharFilterFactory...). I have used
> PatternReplaceCharFilterFactory to skip number, but results are not relevant
> for what we are looking for.Example (stupid one ;)):After processing, may
> be:
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Charfilter-keep-dates-but-skeep-number-tp4014049.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to