I'm not sure what you're trying to do. Where does the field value needs to come 
from? 

> Hello,
> 
> I'm trying to add an extra field to the schema.xml that is only stored, but
> with nutch not knowing about it, I don't know how to tell Solr of its value
> for each document. I'd like to plugin the computation, something like is
> done with Similarity, but I'm not sure how to do that.
> 
> From SOLR-1566 <https://issues.apache.org/jira/browse/SOLR-1566>:
> "Currently it is not possible for components to add fields to outgoing
> documents which are not in the the stored fields of the document."
> That's my next problem, but let's say I'm okay storing the field, how do I
> do that?
> 
> BTW, I tried hacking the code to add the fields a response-time to the
> defaultFields per document, but since it always has a cached document it'll
> not add them (I could still force the adding, but I'm not sure what else
> will break as a result).

Reply via email to