Re: Highlighting returns incorrect text on some results?

2008-08-15 Thread pdovyda2

Thanks Otis.  I downloaded the nightly today and reindexed, and it seems that
it was a bug that you've worked out since 1.2 as I don't see the issue
anymore.

Paul


Otis Gospodnetic wrote:
 
 Paul, we had many highlighter-related changes since 1.2, so I suggest you
 try the nightly.
 
 Otis
 --
 Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
 
 
 
 - Original Message 
 From: pdovyda2 [EMAIL PROTECTED]
 To: solr-user@lucene.apache.org
 Sent: Thursday, August 14, 2008 2:56:42 PM
 Subject: Highlighting returns incorrect text on some results?
 
 
 This is kind of a strange issue, but when I submit a query and ask for
 highlighting back, sometimes the highlighted text includes a question
 mark
 at the beginning, although a question mark character does not appear in
 the
 field that the highlighted text is taken from.
 
 I've put some sample XML output on the web at
 http://ucair.cs.uiuc.edu/pdovyda2/problem.xml
 If you look at the first and third highlights, you'll see what I'm
 talking
 about.  
 
 Besides looking a bit odd, it is causing my application to break because
 the
 highlighted field is multivalued, and I was doing text matching to
 determine
 which of the values was chosen for highlighting.
 
 Is this actually a bug, or have I just misconfigured something?  By the
 way,
 I am using the 1.2 release, I have not yet tried out a nightly build to
 see
 if this is an old problem.
 
 Thanks,
 Paul
 -- 
 View this message in context: 
 http://www.nabble.com/Highlighting-returns-incorrect-text-on-some-results--tp18987598p18987598.html
 Sent from the Solr - User mailing list archive at Nabble.com.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Highlighting-returns-incorrect-text-on-some-results--tp18987598p19002545.html
Sent from the Solr - User mailing list archive at Nabble.com.



Highlighting returns incorrect text on some results?

2008-08-14 Thread pdovyda2

This is kind of a strange issue, but when I submit a query and ask for
highlighting back, sometimes the highlighted text includes a question mark
at the beginning, although a question mark character does not appear in the
field that the highlighted text is taken from.

I've put some sample XML output on the web at
http://ucair.cs.uiuc.edu/pdovyda2/problem.xml
If you look at the first and third highlights, you'll see what I'm talking
about.  

Besides looking a bit odd, it is causing my application to break because the
highlighted field is multivalued, and I was doing text matching to determine
which of the values was chosen for highlighting.

Is this actually a bug, or have I just misconfigured something?  By the way,
I am using the 1.2 release, I have not yet tried out a nightly build to see
if this is an old problem.

Thanks,
Paul
-- 
View this message in context: 
http://www.nabble.com/Highlighting-returns-incorrect-text-on-some-results--tp18987598p18987598.html
Sent from the Solr - User mailing list archive at Nabble.com.