Thx a lot! 2006/9/26, markharw00d <[EMAIL PROTECTED]>:
Pass a field name to the QueryScorer constructor. See "testFieldSpecificHighlighting" method in the Junit test for the highlighter for an example. Cheers Mark zhu jiang wrote: > Hi all, > > For example, if I have a document with two fields text and num like > this: > ---------------- > text:foo bar 1 > num:1 > ---------------- > > When users query "foo", I changed the query to "text:foo AND num:1", both > "foo" and "1" in the text field will be highlighted. I don't wanna the > word > "1" in text field to be highlighted. What should I do? Pls help me > > ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Thanks, Jiang
