lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Holmes" <>
Subject schema.xml changes and the impact on Solr?
Date Mon, 13 Aug 2007 14:22:15 GMT
We're planning to make changes to our schema.xml file... I need to ask a
few questions


1 - if we add fields / remove fields to be indexed, how will this affect
our current indexes.  Will we need to completely recreate millions on
indexes (or is it indices)?  


Scenario 1a :: we've been injecting "field1"... but not indexed.  Now,
we just want to add an index.  Once the xml is changed, how do we sanely


Scenario 1b :: we add "field2" (and index=true), which was not
previously used as a field at all.  Do our indexes need to be completely
recreated, or is there a way to update these indexes individually?  I
still have the original data in a DB and can do that if necessary.


Scenario 1c :: we remove a few of the fields in the schema.xml (but add
nothing).  Reindex required?




2 - Question about the structure of the injected xml file... does it
need to exactly match the data in solr?  I know it makes sense that
we're only injecting the fields that solr needs and not excluding fields
that it needs... but how fussy is solr when it comes to matching the xml
in injection?




So really, four questions.  I look forward to your wisdom!



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