Have you looked at $docBoost in the DIH documentation:
https://wiki.apache.org/solr/DataImportHandler#Special_Commands ?
Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all
at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
book)


On Mon, Feb 10, 2014 at 5:53 PM, Viva Daniele <viva.dani...@gmail.com> wrote:
> Hi guys,
>
> I’m using dataimporthandler.
>
> i need to set a field boost at index time but i need to set it dynamically.
> This is what i’m truing to do:
>
> <entity name=“item"
>         query=“select boost, id, name, text from table">
>         <field name=“name"      column=“name"   />
>         <field name=“id"        column=“id"     />
>         <field name=’text'   column=’text'   boost=“${boost}" />
> </entity>
>
> Please, do you have any suggest?
> Thanks.

Reply via email to