You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2007/03/02 17:30:50 UTC
[jira] Created: (SOLR-175) Implement hl.formatter=interleave
Implement hl.formatter=interleave
---------------------------------
Key: SOLR-175
URL: https://issues.apache.org/jira/browse/SOLR-175
Project: Solr
Issue Type: Improvement
Reporter: Yonik Seeley
Priority: Minor
Implement hl.formatter=interleave
http://www.nabble.com/Better-highlighting-fragmenter-tf2916742.html#a8154466
>From Wunder:
'''We tried several APIs and decided that the best was an array of
String with the odd elements containing the strings that needed
highlighting. That made it really easy to step through and wrap
highlighted stuff with the right markup, while properly escaping
any angle brackets in the source text. '''
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-175) Implement hl.formatter=interleave
Posted by "Mike Klaas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Klaas updated SOLR-175:
----------------------------
Component/s: highlighter
> Implement hl.formatter=interleave
> ---------------------------------
>
> Key: SOLR-175
> URL: https://issues.apache.org/jira/browse/SOLR-175
> Project: Solr
> Issue Type: Improvement
> Components: highlighter
> Reporter: Yonik Seeley
> Priority: Minor
>
> Implement hl.formatter=interleave
> http://www.nabble.com/Better-highlighting-fragmenter-tf2916742.html#a8154466
> From Wunder:
> '''We tried several APIs and decided that the best was an array of
> String with the odd elements containing the strings that needed
> highlighting. That made it really easy to step through and wrap
> highlighted stuff with the right markup, while properly escaping
> any angle brackets in the source text. '''
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-175) Implement hl.formatter=interleave
Posted by "Mike Klaas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477408 ]
Mike Klaas commented on SOLR-175:
---------------------------------
One thing to consider here is that every so often there are rumblings of new highlighter implementations in Lucene--especially ones that support proper highlighting of phrase/span queries (e.g. LUCENE-794).
That said, I don't think anything about that particular implementation would preclude this output format (assuming we can work in support for phrase highlights), but it is definitely something to keep in mind when adding new highlighter functionality.
> Implement hl.formatter=interleave
> ---------------------------------
>
> Key: SOLR-175
> URL: https://issues.apache.org/jira/browse/SOLR-175
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
>
> Implement hl.formatter=interleave
> http://www.nabble.com/Better-highlighting-fragmenter-tf2916742.html#a8154466
> From Wunder:
> '''We tried several APIs and decided that the best was an array of
> String with the odd elements containing the strings that needed
> highlighting. That made it really easy to step through and wrap
> highlighted stuff with the right markup, while properly escaping
> any angle brackets in the source text. '''
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-175) Implement hl.formatter=interleave
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556903#action_12556903 ]
Yonik Seeley commented on SOLR-175:
-----------------------------------
We may want to use an "expandable" format that we can add new tags to later
since some people have expressed a desire to get the offsets into the source text.
So instead of ["foo","bar","baz"]
[ {s="foo",off=156}, {s="bar",off=...}, {s="baz", off=...} ]
The other alternative would be parallel arrays (and move the tags for expandibility up a level)... so for each fragment:
{ text=["foo","bar","baz"]
offsets=[156,...,...]
score=1.414
}
> Implement hl.formatter=interleave
> ---------------------------------
>
> Key: SOLR-175
> URL: https://issues.apache.org/jira/browse/SOLR-175
> Project: Solr
> Issue Type: Improvement
> Components: highlighter
> Reporter: Yonik Seeley
> Priority: Minor
>
> Implement hl.formatter=interleave
> http://www.nabble.com/Better-highlighting-fragmenter-tf2916742.html#a8154466
> From Wunder:
> '''We tried several APIs and decided that the best was an array of
> String with the odd elements containing the strings that needed
> highlighting. That made it really easy to step through and wrap
> highlighted stuff with the right markup, while properly escaping
> any angle brackets in the source text. '''
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.