Re: Exception when trying to save to a field with storeOffsetsWithPositions="true"

2013-01-22 Thread Meng Muk
Thanks for pointing this out to me Robert! I have been using the default highlighting component but I thought I'd try out PostingsHighlighter having read about it. I guess I will have to change my schema to work around this then. On 22 January 2013 17:42, Robert Muir wrote: > On Tue, Jan 22, 201

Re: Exception when trying to save to a field with storeOffsetsWithPositions="true"

2013-01-22 Thread Robert Muir
On Tue, Jan 22, 2013 at 12:23 PM, Meng Muk wrote: > If I set the field type to "text_en" however it works, I'm guessing > something in the way the text is being analyzed is causing this exception > to appear? Is there a limitation in how storeOffsetsWithPositions should be > used? > IndexWriter

Exception when trying to save to a field with storeOffsetsWithPositions="true"

2013-01-22 Thread Meng Muk
Hi, I'm using Solr 4.1RC at the moment and have been trying out the PostingsHighlighter feature. I have a schema that is based on the provided sample schema.xml so the fieldTypes that I am using is exactly the same. This is the field that I have declared. If I set the value to: My name is Thoma