Re: MappingCharFilterFactory and start and end offsets

2015-06-25 Thread Dmitry Kan
Hi Steve, Sorry for a late reply, been quite busy. I have had afterthoughts immediately after sending the question, in line with what you said: I meant the source token start and end offset positions. When MCFF is removed, the $ disappears after ST and start and end offsets of all the terms are c

Re: MappingCharFilterFactory and start and end offsets

2015-06-18 Thread Steve Rowe
Hi Dmitry, It’s weird that start and end offsets are the same - what do you see for the start/end of ‘$’, i.e. if you take out MCFF? (I think it should be start:5, end:6.) As far as offsets “respecting the remapped token”, are you asking for offsets to be set as if ‘dollarsign' were part of t

MappingCharFilterFactory and start and end offsets

2015-06-18 Thread Dmitry Kan
Hi, It looks like MappingCharFilter sets start and end offset to the same value. Can this be affected on by some setting? For a string: test $ test2 and mapping "$" => " dollarsign " (we insert extra space to separate $ into its own token) we get: http://snag.gy/eJT1H.jpg Ideally, we would like