Not quite sure what you're asking. The field() function query brings the
value of a field into the score, something like:
http://localhost:8983/solr/select?wt=json&fl=id%20score&q={!boost%20b=field(popularity)}ipod

Best,
Erick


On Thu, Nov 21, 2013 at 10:43 PM, sling <sling...@gmail.com> wrote:

> Hi, guys.
>
> I indexed 1000 documents, which have fields like title, ptime and
> frequency.
>
> The title is a text fild, the ptime is a date field, and the frequency is a
> int field.
> Frequency field is ups and downs. say sometimes its value is 0, and
> sometimes its value is 9999999.
>
> Now, in my app, the query could work with function query well. The function
> query is implemented as the score multiplied by an decreased date-weight
> array.
>
> However, I have got no idea to add the frequency to this formula...
>
> so could someone give me a clue?
>
> Thanks again!
>
> sling
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/a-function-query-of-time-frequency-and-score-tp4102531.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to