lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chaffee" <jchaf...@ebates.com>
Subject RE: *:* query with dismax
Date Sun, 08 May 2011 22:43:57 GMT
This is what I thought, but for some reason I wasn't able to get it to work before.  Thus,
I sent the email.  

However, maybe I forgot to not specify q because it is working fine for me now.

Thanks everyone.


-----Original Message-----
From: Rob Casson [mailto:rob.casson@gmail.com]
Sent: Fri 5/6/2011 7:34 PM
To: solr-user@lucene.apache.org
Subject: Re: *:* query with dismax
 
it does seem a little weird, but q.alt will get what you want:

      http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt

hth,
rc

On Fri, May 6, 2011 at 7:41 PM, Jason Chaffee <jchaffee@ebates.com> wrote:
> Can you shed some light on what you did to configure it to handle *:*?
> I have the same issue that I need it to work for faceting, but I do need
> the dismax abilities as well.
>
> -----Original Message-----
> From: Mark Mandel [mailto:mark.mandel@gmail.com]
> Sent: Friday, May 06, 2011 4:30 PM
> To: solr-user@lucene.apache.org
> Subject: Re: *:* query with dismax
>
> This is exactly what should be happening, as the dismax parser doesn't
> understand regular query syntax (and for good reason too). This tripped
> me
> up as well when I first started using dismax.
>
> Solution for me was to comfigure the handler to use *:* when the query
> is
> empty, so that you can still get back a full result set if you need it,
> say
> for faceting.
>
> HTH
>
> Mark
> On May 7, 2011 9:22 AM, "Jason Chaffee" <jchaffee@ebates.com> wrote:
>> I am using dismax and trying to use q=*:* to return all indexed
>> documents. However, it is always returning 0 found.
>>
>>
>>
>> If I used the default select (not dismax) handler and try q=*:* then
> it
>> returns all documents.
>>
>>
>>
>> There is nothing in the logs to indicate why this happening.
>>
>>
>>
>> Does anyone have any clues?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Jason
>>
>


Mime
View raw message