Yes, that is correct...you need to rewrite the query. I was actually the main developer for the 1.5 .NET port, so if you come across any issues, please email me at my hotmail address which I check more often than this one... -Joe Langley -----Original Message----- From: Gwyn Carwardine <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tue, 24 Jan 2006 22:43:53 -0000 Subject: RE: Highlighter
Yes I think you're right. On reading the "lucene in action" chapted on highlighting I found it squirreled in the middle of the text. I get the feeling that whilst I have so far found query parser to be the primary method of building queries that this is not ht eprimary method used by other people. Otherwise I would have expected to see the first example in the book use query parser. So what I'm not quite sure is how come the norm is using the direct queries. it helped, thanks -Gwyn -----Original Message----- From: Koji Sekiguchi [mailto:[EMAIL PROTECTED] Sent: 24 January 2006 22:23 To: java-user@lucene.apache.org Subject: RE: Highlighter I've never used .net port of Lucene and highlighter, but I believe we have to call Query.rewrite() to expand the query expression when using phrasequery, wildcardquery, regexquery and fuzzyquery, then pass it to highlighter. hope this helps, Koji > -----Original Message----- > From: Gwyn Carwardine [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 25, 2006 6:28 AM > To: java-user@lucene.apache.org > Subject: Highlighter > > > I'm using the .net port of highlighter (1.5) and I notice it doesn't > highlight range or prefix queries.. Is this consistent with the java > version? Only I note my standard reference of www.lucenebook.com seems to > support highlighting.. is this using that same highlighter > version (couldn't > find any verison info on the lucene apache site) > > TIA > > -Gwyn > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]