Yes, you can add new fields to existing documents with SOLR-139.
As for SOLR-139 status - it's a bit stalled as far as I know. It
would be a wonderful addition to Solr, and hopefully available in
Solr 1.3, but the approach taken in the existing patches is something
I believe will be reworked before it is committed.
Trunk has changed a lot since I tinkered with SOLR-139, so I'm not
personally sure if the patches are valid still or not, but Ryan's
latest one is the one to try out: <http://issues.apache.org/jira/
secure/attachment/12366413/Eriks-ModifiableDocument.patch>
Erik
On Oct 26, 2007, at 5:34 AM, Britske wrote:
is it / will it be possible to add priorly non-existing fields to a
document
with the upcoming solr-139?
for instance, would something like this work?
<add mode="scorex=OVERWRITE">
<doc>
<field name="id*" type="1">318127</field>
<field name="scorex">12</field>
</doc>
</add>
with schema.xml:
...
<fields>
<field name="score*" type="sint" indexed="true" stored="true"/>
...
</fields>
...
btw: how is solr-139 coming along? By judging the latest posts on
jira,
there was still a lot of discussion going on, until about a month
ago or so.
Has there been any recent activity?
Moreover, which patch should i try?
kind regards,
Geert-Jan
--
View this message in context: http://www.nabble.com/solr-139%3A-
support-for-adding-fields-which-are-not-known-at-design-time--
tf4696143.html#a13423709
Sent from the Solr - User mailing list archive at Nabble.com.