You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jahangir Anwari (JIRA)" <ji...@apache.org> on 2011/07/07 10:13:16 UTC
[jira] [Created] (LUCENE-3287) Allow ability to set
maxDocCharsToAnalyze in WeightedSpanTermExtractor
Allow ability to set maxDocCharsToAnalyze in WeightedSpanTermExtractor
----------------------------------------------------------------------
Key: LUCENE-3287
URL: https://issues.apache.org/jira/browse/LUCENE-3287
Project: Lucene - Java
Issue Type: Improvement
Components: modules/highlighter
Affects Versions: 3.3
Reporter: Jahangir Anwari
Priority: Trivial
In WeightedSpanTermExtractor the default maxDocCharsToAnalyze value is 0. This inhibits us from getting the weighted span terms in any custom code(e.g attached CustomHighlighter.java) that uses WeightedSpanTermExtractor. Currently the setMaxDocCharsToAnalyze() method is protected, which prevents us from setting maxDocCharsToAnalyze to a value greater than 0. Changing the method to public would give us the ability to set the maxDocCharsToAnalyze.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3287) Allow ability to set
maxDocCharsToAnalyze in WeightedSpanTermExtractor
Posted by "Jahangir Anwari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jahangir Anwari updated LUCENE-3287:
------------------------------------
Attachment: WeightedSpanTermExtractor.patch
CustomHighlighter.java
> Allow ability to set maxDocCharsToAnalyze in WeightedSpanTermExtractor
> ----------------------------------------------------------------------
>
> Key: LUCENE-3287
> URL: https://issues.apache.org/jira/browse/LUCENE-3287
> Project: Lucene - Java
> Issue Type: Improvement
> Components: modules/highlighter
> Affects Versions: 3.3
> Reporter: Jahangir Anwari
> Priority: Trivial
> Attachments: CustomHighlighter.java, WeightedSpanTermExtractor.patch
>
>
> In WeightedSpanTermExtractor the default maxDocCharsToAnalyze value is 0. This inhibits us from getting the weighted span terms in any custom code(e.g attached CustomHighlighter.java) that uses WeightedSpanTermExtractor. Currently the setMaxDocCharsToAnalyze() method is protected, which prevents us from setting maxDocCharsToAnalyze to a value greater than 0. Changing the method to public would give us the ability to set the maxDocCharsToAnalyze.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3287) Allow ability to set
maxDocCharsToAnalyze in WeightedSpanTermExtractor
Posted by "Jahangir Anwari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jahangir Anwari updated LUCENE-3287:
------------------------------------
Description:
Spinoff from this thread:
http://www.gossamer-threads.com/lists/lucene/java-user/129668
In WeightedSpanTermExtractor the default maxDocCharsToAnalyze value is 0. This inhibits us from getting the weighted span terms in any custom code(e.g attached CustomHighlighter.java) that uses WeightedSpanTermExtractor. Currently the setMaxDocCharsToAnalyze() method is protected, which prevents us from setting maxDocCharsToAnalyze to a value greater than 0. Changing the method to public would give us the ability to set the maxDocCharsToAnalyze.
was:
In WeightedSpanTermExtractor the default maxDocCharsToAnalyze value is 0. This inhibits us from getting the weighted span terms in any custom code(e.g attached CustomHighlighter.java) that uses WeightedSpanTermExtractor. Currently the setMaxDocCharsToAnalyze() method is protected, which prevents us from setting maxDocCharsToAnalyze to a value greater than 0. Changing the method to public would give us the ability to set the maxDocCharsToAnalyze.
> Allow ability to set maxDocCharsToAnalyze in WeightedSpanTermExtractor
> ----------------------------------------------------------------------
>
> Key: LUCENE-3287
> URL: https://issues.apache.org/jira/browse/LUCENE-3287
> Project: Lucene - Java
> Issue Type: Improvement
> Components: modules/highlighter
> Affects Versions: 3.3
> Reporter: Jahangir Anwari
> Priority: Trivial
> Attachments: CustomHighlighter.java, WeightedSpanTermExtractor.patch
>
>
> Spinoff from this thread:
> http://www.gossamer-threads.com/lists/lucene/java-user/129668
> In WeightedSpanTermExtractor the default maxDocCharsToAnalyze value is 0. This inhibits us from getting the weighted span terms in any custom code(e.g attached CustomHighlighter.java) that uses WeightedSpanTermExtractor. Currently the setMaxDocCharsToAnalyze() method is protected, which prevents us from setting maxDocCharsToAnalyze to a value greater than 0. Changing the method to public would give us the ability to set the maxDocCharsToAnalyze.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org