Yes, product is a function query and yes you can write your own.

Score is a _really_ special field, accessed with even referenced
differently by just the plain score "field". You can also use
"doc transformers" to return things like which shard the doc came
from, but that's a different syntax just to make it confusing
[shard], see: 
https://cwiki.apache.org/confluence/display/solr/Transforming+Result+Documents

And you can make a custom one of these too, a place to start
would be TestCustomDocTransformer in the Solr tests.

Best,
Erick

On Wed, Jul 8, 2015 at 2:00 PM, Maya G <maiki...@gmail.com> wrote:
> Hey,
>
> Thanks for your response.
>
> Yes, I think what I'm looking for is a pseudo field.
> Is the "product" function a funtion query?
> I assume I can replace the the "product" function in an implementation of my
> own.
>
> BTW - is the score field a pseudo field?
>
> Maya
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Adding-field-to-query-result-tp4216396p4216424.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to