Re: Function Query with multi-value field

2019-07-15 Thread Emir Arnautović
Hi Wei, I see two options: 1. create custom distance function for colors 2. split each color component to a separate numeric fields and try calculate distance function using standard set of functions. (I think that Solr does not support 3d points). HTH, Emir -- Monitoring - Log Management - Aler

Re: Function Query with multi-value field

2019-07-13 Thread Wei
Any suggestion? On Thu, Jul 11, 2019 at 3:03 PM Wei wrote: > Hi, > > I have a question regarding function query that operates on multi-value > fields. For the following field: > > multivalued="true"/> > > Each value is a hex string representation of RGB value. for example > there are 3 value

Function Query with multi-value field

2019-07-11 Thread Wei
Hi, I have a question regarding function query that operates on multi-value fields. For the following field: 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