I am getting exactly the same problem here. 

In my schema.xml I set up a multivalued field 'barfield' of type 'text'.
When I try to perform a search such as this:

http://localhost/solr/coreFoo/select?q=Foo Bar&hl=on&hl.fl=barfield

I get the StringIndexOutOfBoundsException problem.

As I did not find any other Thread about this issue, I would like to know
how it was solved, it if was, or where I can find more information about it.

Thanks in advance


hossman wrote:
> 
> 
> : if I want to highlight a mutivalued field I get the following exception:
> 
> I don't know much about Highlighting, but when i attempt to highlight a 
> multivalued field using the example schema & docs i don't get an error...
> 
> http://localhost:8983/solr/select/?q=features:cache&hl=true&hl.fl=features
> 
> Are you using solr "out of the box" or do you by any chance have some 
> custom plugins that might be using the highlighting code in an atypical 
> way?
> 
> If not: can you give us some more details about what your schema and 
> request params look like when this this error is triggered?
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Highlighter-throws-StringIndexOutOfBoundsException-on-multivalued-fields-tp19533055p26066224.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to