You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Geetu Ambwani <ge...@gmail.com> on 2011/11/29 19:49:30 UTC

Splitting Words but retaining offsets

Does solr include the functionality to split words but give the same
offsets to both words.
So for instance if I have a word like "pop-dop", and I split on "-", I get
two words "pop" and "dop" but both have offsets start and end 0,3 instead
of 0,2 followed by (4,6)
Thanks !
Geetu

Re: Splitting Words but retaining offsets

Posted by lboutros <bo...@gmail.com>.
I think this is what you are looking for :

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory

Ludovic.

-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Splitting-Words-but-retaining-offsets-tp3546104p3547977.html
Sent from the Solr - User mailing list archive at Nabble.com.