oops...my bad....
please ignore the previous comment.

On Fri, Jul 18, 2008 at 6:07 PM, chris sleeman <[EMAIL PROTECTED]>
wrote:

> I am not saying that  fq parameter does not work with dismax.
> I am saying that the way this query is written it wont work because the
> dismax query handler would parse "type:idea" to a value "type idea" (without
> the colon) which changes the query. This would be a problem whether you use
> it in the main query or filter query.
>
> This standard search handler wont parse it this way and hence you would get
> different results depending on the handler used.
>
>
>
> On Fri, Jul 18, 2008 at 2:04 PM, Preetam Rao <[EMAIL PROTECTED]>
> wrote:
>
>> I have used fq the way it is with dismax and it works fine.
>> fq is standard parameter and not specific to dismax.
>> So type:idea should work correctly.
>>
>> -
>> Preetam
>>
>> On Fri, Jul 18, 2008 at 11:30 AM, chris sleeman <[EMAIL PROTECTED]>
>> wrote:
>>
>> > > btw, this *seems* to only work for me with standard search handler.
>> > dismax
>> > and fq: dont' seem to get along nicely...
>> >
>> > Wouldnt the dismax parser consider the filter query parameter as "type
>> > idea"
>> > and not value "idea" for solr field - "type"?
>> > I guess thats the reason this query doesnt work with dismax, the way it
>> > works with the standard search handler. You can add a "debugQuery=true"
>> > parameter to check the actual parsed query.
>> >
>> > -Chris
>> >
>> > On Tue, Jul 15, 2008 at 10:47 PM, Yonik Seeley <[EMAIL PROTECTED]>
>> wrote:
>> >
>> > > On Tue, Jul 15, 2008 at 11:10 AM, Norberto Meijome <
>> [EMAIL PROTECTED]>
>> > > wrote:
>> > > > On Tue, 15 Jul 2008 18:07:43 +0530
>> > > > "Preetam Rao" <[EMAIL PROTECTED]> wrote:
>> > > >
>> > > >> When I say filter, I meant q=fish&fq=type:idea
>> > > >
>> > > > btw, this *seems* to only work for me with standard search handler.
>> > > dismax and fq: dont' seem to get along nicely... but maybe, it is just
>> > late
>> > > and i'm not testing it properly..
>> > >
>> > > It should work the same... the only thing dismax does differently now
>> > > is change the type of the base query to "dismax".
>> > >
>> > > -Yonik
>> > >
>> >
>> >
>> >
>> > --
>> > Bill Cosby  - "Advertising is the most fun you can have with your
>> clothes
>> > on."
>> >
>>
>
>
>
> --
> Regards,
> Chris
>



-- 
Regards,
Chris

Reply via email to