[ 
https://issues.apache.org/jira/browse/SOLR-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmet Arslan updated SOLR-3193:
-------------------------------

    Attachment: SOLR-3193.patch

with [~arun_mist] 's following fix to {{OffsetLimitTokenFilter}} in SOLR-5426 :

{noformat}
-    if (offsetCount < offsetLimit && input.incrementToken()) {
+    if (input.incrementToken() && offsetCount < offsetLimit) {
{noformat}

failing test case passes now. 

> highligting on an unindexed field throws InvalidTokenOffsetsException
> ---------------------------------------------------------------------
>
>                 Key: SOLR-3193
>                 URL: https://issues.apache.org/jira/browse/SOLR-3193
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 3.6, 4.8
>            Reporter: Ahmet Arslan
>            Priority: Minor
>         Attachments: SOLR-3193.patch, SOLR-3193.patch, SOLR-3193.patch, 
> SOLR-3193.patch
>
>
> When highlighting is requested on an un-indexed field (for the second time), 
> InvalidTokenOffsetsException is thrown.
> http://lucene.472066.n3.nabble.com/search-highlight-InvalidTokenOffsetsException-in-Solr-3-5-td3560997.html#a3793593



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to