lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei <>
Subject Function Query with multi-value field
Date Thu, 11 Jul 2019 22:03:19 GMT

I have a question regarding function query that operates on multi-value
fields.  For the following field:

<field name=rgbcolor type="string" indexed="true" stored="true"

 Each value is a hex string representation of RGB value.  for example there
are 3 values indexed

#FF00FF    - C1
#EE82EE   - C2
#DA70D6   - C3

How would I write a function query that operates on all values of the
field?  Given color S in query, how to calculate the similarities between S
and C1/C2/C3 and find which one is the closest?
I checked but
didn't see an example.


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