lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Dismax Wildcard Queries
Date Sun, 30 Aug 2009 19:21:20 GMT
On Tue, Aug 25, 2009 at 3:00 AM, Kurt N. <> wrote:

> Hello all.
> We have a situation in the requirements for our project that make it
> desireable to be able to perform a DisMax query with wildcard (* and ?)
> characters in it.
> We are using the standard release (not nightly) of Solr 1.3.
> Our first thought was to apply the SOLR-756 patch
> (, which aimed to make
> DisMax
> support all query types.  The patch was installed, and Solr recompiled
> without trouble.  Upon passing a query with the * wildcard in it, we did
> not
> get a result set that indicated that the query was working.
> Our next thought was to apply SOLR-758
> (, to see if that solved our
> problem.  In doing so, we had to install the SOLR-757
> ( patch as well.
> Unfortunately, at this point, Solr refused to compile.  From the error
> messages that Ant gave, it seemed that the new code from SOLR-758 was
> looking for a function called "getNonLocalParams()", which, after grep'ing
> the source, doesn't seem to exist in the Solr codebase.

I can't find QParser ever having a method named getNonLocalParams. However,
looking at the way that method is being used in the patch, using "params"
instead of getNonLocalParams() should work.

Questions on patches are best asked on the respective issue.

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message