You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jack L <jl...@yahoo.ca> on 2007/03/08 03:20:43 UTC
Re[2]: Solr and Multiple Index Partitions
Selecting by type will do the job. But I suppose it sacrifice
performance because having multiple document types in the same
index will render a larger index. Is it bad?
--
Best regards,
Jack
Wednesday, March 7, 2007, 2:15:14 PM, you wrote:
> As it is now... I don't think so. SolrCore is a static singleton
> class -- without some serious reworking, i think there is only one
> instance per jvm.
> I think getting rid of the static singleton should go on the long term
> TODO list, but that doesn't help you now.
> Although it seems weird, just adding a "type" field makes it possible
> to put things that seem like they need their own database into the
> same index - you select the 'type' you want by adding "+type:mytype"
> to your query
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Re[2]: Solr and Multiple Index Partitions
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Mar 7, 2007, at 9:20 PM, Jack L wrote:
> Selecting by type will do the job. But I suppose it sacrifice
> performance because having multiple document types in the same
> index will render a larger index. Is it bad?
A many documents we talking here?
My hunch is you'll be fine :)
Erik