TrimFilterFactory and IllegalArgumentException with Solr4.6

2013-11-27 Thread Bernd Fehling
Now this is strange, while using TrimFilterFactory with attribute "updateOffsets=true" as described in http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.TrimFilterFactory and https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-TrimFil

Re: trimfilterfactory on string fieldtype?

2010-03-21 Thread Ahmet Arslan
> Can the trim filter factory work on > string fieldtypes? No. String field type (solr.StrField) is not analyzed. You can use charfilter,tokenizer,tokenfilter with solr.TextField. You can use this (TrimmedString) field definition:

trimfilterfactory on string fieldtype?

2010-03-18 Thread Tommy Chheng
Can the trim filter factory work on string fieldtypes? When I define a trim filter factory on a string fieldtype, i get an exception: org.apache.solr.common.SolrException: Unknown fieldtype 'string' specified on field id at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.jav

Re: TrimFilterFactory

2008-10-06 Thread Grant Ingersoll
, 2008, at 5:28 AM, sanraj25 wrote: Hi, I want to know, under which tokenizer TrimFilterFactory is used?. I used with all tokenizer.But white space not removed front and back.Because first tokenizer split the query then only filter split. So please tell me when we use trimfilter facto

TrimFilterFactory

2008-10-06 Thread sanraj25
Hi, I want to know, under which tokenizer TrimFilterFactory is used?. I used with all tokenizer.But white space not removed front and back.Because first tokenizer split the query then only filter split. So please tell me when we use trimfilter factory thanks -sanraj -- View this