Hi,
Is it possible to constrain a resultset using a filter query to only
return the top 100 documents for a particular field?
Say I have a field called 'hits' that has the total number of hits for
that item. I want to return only the documents that have the top 100
highest hits.
I want something
like to do:
fq=rord(rating):[0 TO 500]
But that does not seem possible. Does anyone know what else I could do?
--
Pete Smith
Senior Developer
No.9 | 6 Portal Way | London | W3 6RU |
T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111
LOVEFiLM.com
t the third - the white space is causing
problems. Here are the relevant parts of my config:
I believe it is due to the mingramsize setting and that is applying to
each word. Can anyone tell me how I can support what I want to do?
Chee
tting these requires
> you to reindex). I think this should have the effect of making BQ boosts
> like &bq=media:DVD^2&bq=media:BLU-RAY^1.5 more effective.
>
> -- Dean
>
> -Original Message-
> From: Pete Smith [mailto:pete.sm...@lovefilm.com]
> Sent: 13/03/200
>
> media^1.0 title^100.0
But with that, how will it know to rank media:DVD higher than
media:BLU-RAY?
Cheers,
Pete
> Pete Smith-3 wrote:
> >
> > Hi Amit,
> >
> > Thanks again for your reply. I am understanding it a bit better but I
> > think it would
arch for q=Indiana .. it should display both of the records but
> record #2 will display above than the 1st.
>
> Let me know if you still have questions.
>
> Cheers,
> amit
>
>
> Pete Smith-3 wrote:
> >
> > Hi Amit,
> >
> > Thanks very much for
ith media=DVD scoring higher than media=BLU-RAY then do I need to do
something like:
solr/select?q=indiana
And in my config:
media^2
But I don't see where the actual *contents* of the media field would
determine the boost.
Sorry if I have misunderstood what you mean.
Cheers,
Pete
>
BLU-RAY get negatively affected in their score. In the end it all seems
to even out and my score is as it was before i started boosting.
I must be doing this wrong and I wonder whether "boost function" comes
in somewhere. Any ideas on how to correctly use boost?
Cheers,
Pete
--
Pete Smith
Deve