zhan-huang / js-solr-highlighter

A JavaScript library for highlighting text based on the query in the lucene/solr query syntax
MIT License
2 stars 0 forks source link

more than 1 split #5

Open Reached opened 1 year ago

Reached commented 1 year ago

Hi there,

It seems that if there are more than one "AND" it does not highlight anything (seems to fail silently). Is this something you have experienced as well?

My example: "lovgivning" AND "taxikørsel" AND "lovforslag".

Thanks for providing this!

zhan-huang commented 1 year ago

I will have a look and get back to you! - Zhan

Reached commented 1 year ago

Thank you Zhan!

Reached commented 1 year ago

Have you had the chance to take a look at this yet? :)