I have a field (non tokenized) that I want to search and then highlight on:

Schema-
<fieldType name="textExact" class="solr.TextField" positionIncrementGap="100"/>
<field name="text_exact" type="textExact" indexed="true" stored="true" 
multiValued="true"/>

Query-
q=creates%20a%20new%20layer
qf=text_exact
fl=*
defType=edismax
hl=true
hl.fl=text_exact
hl.simple.pre=BBB
hl.simple.post=EEE
hl.fragsize=100000
hl.snippets=1000

The highlighting comes back as tokenized, however:

<arr name="text_exact">
<str>BBBCreatesEEE a BBBnewEEE BBBlayerEEE.</str>
</arr>

I would have expected it to look like this:

<arr name="text_exact">
<str>BBBCreates a new layerEEE.</str>
</arr>

Any suggestions as to what I am doing wrong?

Thanks in advance!

Reply via email to