Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - Creating document schema at runtime


+
Shalin Shekhar Mangar 2007-12-11, 09:23
Copy link to this message
-
Re: Creating document schema at runtime
Ryan McKinley 2007-12-12, 18:07
Shalin Shekhar Mangar wrote:
> Hi,
>
> I'm looking on some tips on how to create a new document schema and
> add it to solr core at runtime. The use case that I'm trying to solve
> is:
>
> 1. Using a custom configuration tool, user creates a solr schema
> 2. The schema is added (uploaded) to a solr instance (on a remote machine).
> 3. Documents corresponding to the newly added schema are added to solr.
>
> I understand that with SOLR-215, I can create a new core by specifying
> the config and schema but still, there is no way for me to do this
> from a remote machine using HTTP calls.

Check SOLR-350 and: http://wiki.apache.org/solr/MultiCore

the 'LOAD' method isn't implemented yet, but that sounds like what you want.
> If this capability does not
> exist, I would be happy to open an issue in JIRA and contribute
> patches.
>

patches are always welcome!

ryan