I have done deep search and I found that lucene provide this that methode :
getBestFragments
highlighter.getBestFragments(tokenStream, text, maxNumFragment, ...);
so with this methode we can precise to lucene to return maxNumFragment
fragment (with highligted word)of fragsize characters, but
On 10-Apr-08, at 7:41 AM, khirb7 wrote:
I have done deep search and I found that lucene provide this that
methode :
getBestFragments
highlighter.getBestFragments(tokenStream, text, maxNumFragment,
...);
so with this methode we can precise to lucene to return
maxNumFragment
[
https://issues.apache.org/jira/browse/SOLR-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12587754#action_12587754
]
Mike Klaas commented on SOLR-516:
-
A quite reasonable addition, thanks!. I commited the core
: I have zero familiarity with the ruby side of Solr, so I will leave the issue
open for the ruby client patch to be reviewed and applied.
since client work and server work are parallel but distinct, I would
suggest cloning the issue so the ruby work can be tracked separately.
it makes the
Automatic binding of results to Beans (for solrj)
-
Key: SOLR-536
URL: https://issues.apache.org/jira/browse/SOLR-536
Project: Solr
Issue Type: New Feature
Components: clients - java
[
https://issues.apache.org/jira/browse/SOLR-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man resolved SOLR-533.
---
Resolution: Fixed
Fix Version/s: 1.3
Assignee: Hoss Man
I couldn't find any reason not to