On Thu, Jan 26, 2012 at 12:05 AM, Frank DeRose <[email protected]> wrote:
> Hi Simon,
>
> No, not different entity types, but actually different document types (I 
> think). What would be ideal is if we could have multiple <document> elements 
> in the data-config.xml file and some way of mapping each different <document> 
> element to a different sets of field in the schema.xml file, and to a 
> different index. Then, when Solr got a search request on one url (say, for 
> example, "http://172.24.1.16:8080/gwsolr/cc/doctype1/select/?q=...";), it 
> would search for a document in the first index and when it got a search 
> request on a different url (say, for example, 
> "http://172.24.1.16:8080/gwsolr/pc/doctype1/select/?q=...";), it would search 
> for the document in the second index. In like manner, administrative tasks 
> (like dataimport) would also switch off of the url, so that the url would 
> determine which index was to be loaded by the dataimport command.

seems like you should look at solr's multicore feature:
http://wiki.apache.org/solr/CoreAdmin

simon
>
> F
>
> -----Original Message-----
> From: Simon Willnauer [mailto:[email protected]]
> Sent: Wednesday, January 25, 2012 2:08 PM
> To: java-user
> Subject: Re: Multiple document types
>
> hey Frank,
>
> can you elaborate what you mean by different doc types? Are you
> referring to an entity ie. a table per entity to speak in SQL terms?
> in general you should get better responses for solr related questions
> on [email protected]
>
> simon
>
> On Wed, Jan 25, 2012 at 10:49 PM, Frank DeRose <[email protected]> wrote:
>> It seems that it is not possible to have multiple document types defined in 
>> a single solr schema.xml file. If, in fact, this is not possible, then, what 
>> is the recommended app server deployment strategy for supporting multiple 
>> documents on solr? Do I need to have one webapp instance per document type? 
>> For example, if I am deploying under tomcat, do I need to have a separate 
>> webapps each with its own context-path and set of config files 
>> (data-config.xml and schema.xml, in particular)?
>>
>> _________________________________________
>> Frank DeRose
>> Guidewire Software | Senior Software Engineer
>> Cell: 510 -589-0752
>> [email protected]<mailto:[email protected]> | 
>> www.guidewire.com<http://www.guidewire.com/>
>> Deliver insurance your way with flexible core systems from Guidewire.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to