[ 
https://issues.apache.org/jira/browse/SOLR-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186069#comment-13186069
 ] 

Mike commented on SOLR-2749:
----------------------------

Hi, I just installed trunk, and I'm still seeing this problem. Not sure how to 
provide a STR, but in snippets I'm seeing words cut in the middle rather than 
at their boundaries.

If it's useful, the query I'm sending is: 

INFO: [] webapp=/solr path=/select/ params={
sort=score+asc&
fl=id,absolute_url,court_id,local_path,source,download_url,status,dateFiled&
hl.fl=text,caseName,westCite,docketNumber,lexisCite,court_citation_string&
f.text.hl.snippets=5&
hl=true&
q=willingness&
fq=dateFiled:{*+TO+*}&
fq={!tag%3Ddt}court_exact:("ca5"+OR+"ca4"+OR+"ca7"+OR+"ca1"+OR+"ca3"+OR+"ca2"+OR+"scotus"+OR+"ca9"+OR+"ca8"+OR+"all"+OR+"ca11"+OR+"ca10"+OR+"cadc"+OR+"cafc")
fq={!tag%3Ddt}status_exact:("Non-Precedential"+OR+"Relating-to+orders"+OR+"Precedential"+OR+"Errata")&f.docketNumber.hl.alternateField=docketNumber&
f.docketNumber.hl.fragListBuilder=single&
f.lexisCite.hl.fragListBuilder=single&
f.caseName.hl.fragListBuilder=single&
f.westCite.hl.fragListBuilder=single&
f.court_citation_string.hl.fragListBuilder=single&

f.text.hl.alternateField=text&
f.caseName.hl.alternateField=caseName&
f.court_citation_string.hl.alternateField=court_citation_string
f.lexisCite.hl.alternateField=lexisCite&
f.westCite.hl.alternateField=westCite&
f.text.hl.maxAlternateFieldLength=500&
}

And I'm getting a snippet that contains:

...g and willingness to read with care.” Rosenau v. Unifund Corp., 539 F.3d 
218, 221 (3d Cir. 2008) (internal...

You can see the first and last word are both cut off.
                
> use BoundaryScanner in Solr FVH
> -------------------------------
>
>                 Key: SOLR-2749
>                 URL: https://issues.apache.org/jira/browse/SOLR-2749
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 3.1, 3.2, 3.3, 3.4, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.5, 4.0
>
>         Attachments: SOLR-2749.patch, SOLR-2749.patch, SOLR-2749.patch
>
>
> After LUCENE-1824 committed, Solr FragmentsBuilder can snip off at the 
> "natural" boundary by nature. But to bring out the full feature, Solr should 
> take care of arbitrary BoundaryScanner in solrconfig.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply via email to