uture) reader who ran into this problem
also.
--Renaud
-Original Message-
From: mark harwood [mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 2:03 AM
To: java-user@lucene.apache.org
Subject: Re: More Precise Highlighting
I think the solution is fairly simple.
Pass the "metad
here, both in any
> metadata AND the document text. When I pass "author" as fieldname, it
> doesn't highlight that field at all -- because the query was actually for
> "metadata" not "author". It's not correct in either case, and I'm not sure
>
what to do.
Thanks again for your help,
--Renaud
-Original Message-
From: markharw00d [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 13, 2007 3:24 PM
To: java-user@lucene.apache.org
Subject: Re: More Precise Highlighting
Not sure I fully understand the problem. Th
t; as fieldname, it
doesn't highlight that field at all -- because the query was actually for
"metadata" not "author". It's not correct in either case, and I'm not sure
what to do.
Thanks again for your help,
--Renaud
-Original Message-
From: markhar
Not sure I fully understand the problem. The query is effectively
"allContent:someTitleText" and you want to highlight the string
"someTitleText" in the title field?
If you pass null as a fieldname to the QueryTermExtractor it will use
all term values, regardless of field, as string to highlight