lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Using DisMax with Join possible?
Date Sat, 10 Dec 2011 01:26:13 GMT
Otis
Did you see Boss's answer to a similar question about an hour after your
post?
On Dec 9, 2011 2:19 PM, "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
wrote:

> Hi,
>
> Is there a reason why we have the "lucene" parser baked into Join?
> Is there a way to use (e)DisMax with Join?
>
> For example, when I do this:
>
>     /solr/indexA/select?q={!join fromIndex=indexB from=id to=id}FooBar
>
> Check line 60 in
> http://search-lucene.com/c/Solr:/core/src/java/org/apache/solr/search/JoinQParserPlugin.java
>  :
>
>     060         QParser fromQueryParser = subQuery(v, "lucene");
>
> This means my "FooBar" will always be parsed using the "lucene" query
> parser.
>
>
> Using &defType=dismax doesn't do anything because of that "lucene"
> hardcoded as shown above.
>
>
> What can I do if I want to tell Solr to use DisMax to parse my query
> string?
> Thanks,
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>

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