lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: copyField question
Date Wed, 21 Mar 2012 20:24:47 GMT
> However, If the multivalued complex data field is not possible. Is it
possible to use copyField directive to copy fields if a certain score  is
higher than a threshold ?
I don't think that's possible out of the box, but you could use custom
UpdateRequestProcessor for for that.

How many different values do you have? tens? hundreds? thousands?...
millions? If those are not too many, you could use dynamic fields, using
the value as field name and the score as field value. Unless I'm
oversimplifying your problem.

Tomás


On Wed, Mar 21, 2012 at 5:16 PM, <ramdev.wudali@thomsonreuters.com> wrote:

> Hi:
>   Is it it possible to store a value and a corresponding score in Solr as
> part of a single Field definition. And Can this field be a multivalued
> field ?
> I have several terms that are score. I would like to store them as part of
> a single field definition rather than having to create two different fields
> (one storing score and the other the value).
>
> However, If the multivalued complex data field is not possible. Is it
> possible to use copyField directive to copy fields if a certain score  is
> higher than a threshold ?
>
>
> Thanks
>
> Ramdev
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message