Re: Searching with Wildcards

2008-09-17 Thread dojolava
Hi, I have another question on the wildcard problem: In the previous Solr releases there was a workaround to highlight wildcard queries using the StandardRequestHandler by adding a ? in between: e.g. hou?* would highlight house. But this is not working anymore. Is there maybe another workaround?

Re: Highlighter throws StringIndexOutOfBoundsException on multivalued fields

2008-09-17 Thread dojolava
I forgot: this concerns the Solr 1.3.0 release. On Wed, Sep 17, 2008 at 4:15 PM, dojolava <[EMAIL PROTECTED]> wrote: > Hi, > > if I want to highlight a mutivalued field I get the following exception: > > String index out of range: 21 java.lang.StringIndexOutOfBoundsExceptio

Highlighter throws StringIndexOutOfBoundsException on multivalued fields

2008-09-17 Thread dojolava
Hi, if I want to highlight a mutivalued field I get the following exception: String index out of range: 21 java.lang.StringIndexOutOfBoundsException: String index out of range: 21 at java.lang.String.substring(Unknown Source) at org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(

Re: Wildcards

2008-01-21 Thread dojolava
Thanks a lot! I checked it, when I search for "g?rden" it works, only "g?rdener" does not... I will try the copyField solution. On Jan 21, 2008 11:23 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 5:18 PM, dojolava <[EMAIL PROTECTED]> wrote: &

Wildcards

2008-01-21 Thread dojolava
Hello, I just started to use solr and I experience strange behaviour when it comes to wildcards. When I use the StandardRequestHandler queries like "eur?p?an" or "eur*an" work fine. But "garden?r" or "admini*tion" do not bring any results (without wildcards there are some of course). All affecte

matching fields and highlighting

2008-01-18 Thread dojolava
Hello, I am new to solr and lucene and have a question concerning information about the term matching in lucene. For a few reasons (mainly field based security restrictions) I need to know which fields in my result documents matched the query e.g. I would like to have something like field1