RE: More Precise Highlighting (MY SOLUTION)

2007-03-29 Thread Renaud Waldura
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

Re: More Precise Highlighting

2007-03-05 Thread mark harwood
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 >

Re: More Precise Highlighting

2007-03-04 Thread Erick Erickson
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

RE: More Precise Highlighting

2007-03-02 Thread Renaud Waldura
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

Re: More Precise Highlighting

2007-02-13 Thread markharw00d
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