RE: Highlight Wildcard Queries: Scores

2011-01-26 Thread Uwe Schindler
r [mailto:u...@thetaphi.de] > Sent: Wednesday, January 26, 2011 5:34 PM > To: java-user@lucene.apache.org > Subject: RE: Highlight Wildcard Queries: Scores > > You can always decompose because QueryParser will also decompose and > will do-the-right-thing (internal using a Ph

RE: Highlight Wildcard Queries: Scores

2011-01-26 Thread Uwe Schindler
- > From: Wulf Berschin [mailto:bersc...@dosco.de] > Sent: Wednesday, January 26, 2011 5:07 PM > To: java-user@lucene.apache.org > Subject: Re: Highlight Wildcard Queries: Scores > > Hallo Uwe, > > yes, thanks for the hint, that sounds good, but it seems to me I would the

Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Wulf Berschin
men http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Wulf Berschin [mailto:bersc...@dosco.de] Sent: Wednesday, January 26, 2011 3:56 PM To: java-user@lucene.apache.org Subject: Re: SPAM(5.0) Re: Highlight Wildcard Queries: Scores Hi Erick, good points, but:

RE: ****SPAM(5.0)**** Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Uwe Schindler
o: java-user@lucene.apache.org > Subject: Re: SPAM(5.0)**** Re: Highlight Wildcard Queries: Scores > > Hi Erick, > > good points, but: > > our index is fed with german text. In german (in contrast to english) nouns > are just appended to create new word

Re: ****SPAM(5.0)**** Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Wulf Berschin
Hi Erick, good points, but: our index is fed with german text. In german (in contrast to english) nouns are just appended to create new words. E.g. Kaffee Kaffeemaschine Kaffeemaschinensatzbehälter In our scenario standard fulltext search on "Maschine" shall present all of these nouns. That

RE: Highlight Wildcard Queries: Scores

2011-01-26 Thread Uwe Schindler
sco.de] > Sent: Wednesday, January 26, 2011 3:24 PM > To: java-user@lucene.apache.org > Subject: Re: Highlight Wildcard Queries: Scores > > Sorry for bothering, that was my fault: I my subclass of QueryParser which > wraps * around the terms I had not yet considered the new > mu

Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Wulf Berschin
Sorry for bothering, that was my fault: I my subclass of QueryParser which wraps * around the terms I had not yet considered the new multiTermRewriteMethod. After adding these scoring seems to work and even the rewrite is possible again. Wulf Am 26.01.2011 15:10, schrieb Wulf Berschin: Now I

Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Erick Erickson
It is, I think, a legitimate question to ask whether scoring is worthwhile on wildcards. That is, does it really improve the user experience? Because the MaxBooleanClause gets tripped pretty quickly if you add the terms back in, so you'd have to deal with that. Would your users be satisfied with s

Re: Highlight Wildcard Queries: Scores

2011-01-26 Thread Wulf Berschin
Now I have the highlighted wildcards but obviously the scoring is lost. I see that a rewrite of the wildcard query produces a constant score query. I added setMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE); to my QueryParser instance but no effect. What's to be done now?