lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriele Kahlout <gabri...@mysimpatico.com>
Subject How to plugin the value of a Field? DocInverterPerField?
Date Sat, 14 May 2011 10:36:20 GMT
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).

-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).

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