You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Subashini Soundararajan <su...@gmail.com> on 2013/06/12 00:20:13 UTC

ConstantScoreQuery

Hi,

I have imported the money.xml doc in lucene -
https://github.com/normann/apache-solr/blob/master/example/exampledocs/money.xml

I tried the query: price_1:1 and got back a result containing only USD as
the search hit. But the money.xml has Euro, pound and NOK too.
Do we know why they are not returned as part of the result?

I tried this via the solr admin interface.When I analyzed the query it
showed the use of ConstantScoreQuery in the background.

Thanks,
Subashini


-- 
Thanks,
Subashini

Imagination is more important than knowledge
- Einstein

Re: ConstantScoreQuery

Posted by Subashini Soundararajan <su...@gmail.com>.
Correction: The query was price_c:1, can someone please explain ?

Thanks
Subashini
On Tuesday, June 11, 2013, Subashini Soundararajan wrote:

> Hi,
>
> I have imported the money.xml doc in lucene -
> https://github.com/normann/apache-solr/blob/master/example/exampledocs/money.xml
>
> I tried the query: price_1:1 and got back a result containing only USD as
> the search hit. But the money.xml has Euro, pound and NOK too.
> Do we know why they are not returned as part of the result?
>
> I tried this via the solr admin interface.When I analyzed the query it
> showed the use of ConstantScoreQuery in the background.
>
> Thanks,
> Subashini
>
>
> --
> Thanks,
> Subashini
>
> Imagination is more important than knowledge
> - Einstein
>
>

-- 
Sent from Gmail Mobile