You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2010/02/22 18:40:36 UTC

[jira] Created: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
----------------------------------------------------------------------------------------------

                 Key: LUCENE-2278
                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/highlighter
    Affects Versions: 3.0, 2.9.1, 2.9
            Reporter: Koji Sekiguchi
            Priority: Minor
             Fix For: 3.1




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837213#action_12837213 ] 

Koji Sekiguchi commented on LUCENE-2278:
----------------------------------------

I'll commit in a few days.

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

Posted by "Digy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836880#action_12836880 ] 

Digy commented on LUCENE-2278:
------------------------------

Besides passing docid+fieldname to FVH, can there be another method that accepts the original text to be highlighted?
like:
{code}
	getBestFragment( final FieldQuery fieldQuery, IndexReader reader, String originalText, int fragCharSize ) 
{code}
So, the field content can be stored outside of lucene resulting in  a smaller index.

DIGY

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi updated LUCENE-2278:
-----------------------------------

    Attachment: LUCENE-2278.patch

Fix and a test case attached.

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved LUCENE-2278.
------------------------------------

    Resolution: Fixed

Committed revision 916090.

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2278) FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836988#action_12836988 ] 

Koji Sekiguchi commented on LUCENE-2278:
----------------------------------------

getBestFragment() method needs docId and fieldName in order to get a TermPositionVector object from IndexReader when trying to make snippets.

FVH could be acceptable an array of String so that it can make snippets from String[] outside of Lucene, rather than stored values. But it is out of this thread.

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org