Re: highlight and wildcards ?

2007-11-07 Thread Kamran Shadkhast
your information and pointers. I know that my >> problems are not mainstream. > > Have you tried commenting out getPrefixQuery in > solr.search.SolrQueryParser? It should then revert to a "regular" > lucene prefix query. > > -Mike > -- View this message i

Re: highlight and wildcards ?

2007-06-07 Thread Mike Klaas
On 7-Jun-07, at 5:27 PM, Frédéric Glorieux wrote: Hoss, Thanks for all your information and pointers. I know that my problems are not mainstream. Have you tried commenting out getPrefixQuery in solr.search.SolrQueryParser? It should then revert to a "regular" lucene prefix query. -Mi

Re: highlight and wildcards ?

2007-06-07 Thread Frédéric Glorieux
Hoss, Thanks for all your information and pointers. I know that my problems are not mainstream. ConstantScoreQuery @author yonik public void extractTerms(Set terms) { // OK to not add any terms when used for MultiSearcher, // but may not be OK for highlighting } ConstantScoreRangeQ

Re: highlight and wildcards ?

2007-06-07 Thread Chris Hostetter
: With "a?*" I get the documented lucene error : maxClauseCount is set to 1024 Which is why Solr converts PrefixQueries to ConstantScorePrefixQueries that don't have that problem --the trade off being that they can't be highlighted, and we're right back where we started. It's a question of prior

Re: highlight and wildcards ?

2007-06-07 Thread Frédéric Glorieux
Same in my project. Chris does mention we can put a ? before the *, so instead of domin*, you can use domin?*, however that requires at least one char following your search string. Right, it works well, and one char is a detail. With "a?*" I get the documented lucene error maxClauseCount is s

Re: highlight and wildcards ?

2007-06-07 Thread Walter Underwood
Implementing a stemmer for Latin might be easier for you and for your users. It will probably provide better results, too. http://informationr.net/ir/2-1/paper10.html wunder On 6/7/07 10:36 AM, "Frédéric Glorieux" <[EMAIL PROTECTED]> wrote: > Thanks a lot for your answer, sorry to have not scan

RE: highlight and wildcards ?

2007-06-07 Thread Xuesong Luo
AM To: solr-user@lucene.apache.org Cc: Florence Clavaud; Nicolas Legrand Subject: Re: highlight and wildcards ? Xuesong (?), Thanks a lot for your answer, sorry to have not scan the archives before. This a really good and understandable reason, but sad for my project. Prefix queries will be the

Re: highlight and wildcards ?

2007-06-07 Thread Frédéric Glorieux
Xuesong (?), Thanks a lot for your answer, sorry to have not scan the archives before. This a really good and understandable reason, but sad for my project. Prefix queries will be the main activities of my users (they need to search latin texts, so that domin* is enough to match "dominus" or

RE: highlight and wildcards ?

2007-06-07 Thread Xuesong Luo
Original Message- From: Frédéric Glorieux [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 3:52 AM To: solr-user@lucene.apache.org Subject: highlight and wildcards ? Hi all, I'm talking about solr subversion, jetty example, default documents, like the tutorial. I tried

highlight and wildcards ?

2007-06-07 Thread Frédéric Glorieux
Hi all, I'm talking about solr subversion, jetty example, default documents, like the tutorial. I tried to highlight queries with wildcard. Documents are found like waited, but I haven't seen the terms highlighted. It seems to work with fuzzy search, so I thought it was a supposed feature. A