Re: Help to find BaseTokenFilterFactory to write a Custom TokenFilter

2013-11-07 Thread Dileepa Jayakody
Hi All, When following the above tutorial [1], to write a custom FilterFactory, I had to extend TokenFilterFactory instead of BaseTokenFilterFactory as per the API change in new lucene-analyzer-common library. Below is my custom TokenFilterFactory class: public class ContentFilterFactory extends

Re: Help to find BaseTokenFilterFactory to write a Custom TokenFilter

2013-11-07 Thread Dileepa Jayakody
Thanks Anuj, The jar containing the class can be found here : http://www.java2s.com/Code/JarDownload/lucene/lucene-analyzers-common-4.2.0.jar.zip On Thu, Nov 7, 2013 at 2:18 PM, Anuj Kumar wrote: > > http://stackoverflow.com/questions/13149627/where-did-basetokenfilterfactory-go-in-solr-4-0 > >

Re: Help to find BaseTokenFilterFactory to write a Custom TokenFilter

2013-11-07 Thread Anuj Kumar
http://stackoverflow.com/questions/13149627/where-did-basetokenfilterfactory-go-in-solr-4-0 On Thu, Nov 7, 2013 at 1:05 PM, Dileepa Jayakody wrote: > Hi All, > > I am writing a custom TokenFilter to post a token value to Apache Stanbol > for enhancement. In this Custom TokenFilter I'm trying to

Help to find BaseTokenFilterFactory to write a Custom TokenFilter

2013-11-06 Thread Dileepa Jayakody
Hi All, I am writing a custom TokenFilter to post a token value to Apache Stanbol for enhancement. In this Custom TokenFilter I'm trying to retrieve the response from Stanbol and index it as a new document in Solr. I'm following [1] to write a custom filter, but I'm having trouble locating BaseTo