lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Adding field to query result
Date Wed, 08 Jul 2015 21:20:44 GMT
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:

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


On Wed, Jul 8, 2015 at 2:00 PM, Maya G <> 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:
> Sent from the Solr - User mailing list archive at

View raw message