Re: 2 index within the same Solr server ?

2011-03-31 Thread Deepak Singh
I want 2 index in same solr server. How to create 2 index and its schema for two different search result On Wed, Mar 30, 2011 at 7:07 PM, Amel Fraisse amel.frai...@gmail.comwrote: Hello every body, referring to the link : http://wiki.apache.org/solr/CoreAdmin. I've created a solr.xml file

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi, You have to use SolrCore to create a solr.xml file in wich you specify 2 cores ( refer to the link : http://wiki.apache.org/solr/CoreAdmin ) But for indexing and searching I've the same question: I don't know how I could specify that document would be indexed a twice (in the first index and

Re: 2 index within the same Solr server ?

2011-03-31 Thread Markus Jelsma
On Thursday 31 March 2011 12:58:54 Amel Fraisse wrote: But for indexing and searching I've the same question: I don't know how I could specify that document would be indexed a twice (in the first index and in the second index). Amel, if you use multi core and wish to have a document

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi Markus, Thank you for your response. In fact, I never used SolrCore before that. So could you give me an example to ilustrate how I could send a document to be indexed by both cores? Thank you. Amel. 2011/3/31 Markus Jelsma markus.jel...@openindex.io On Thursday 31 March 2011 12:58:54

Re: 2 index within the same Solr server ?

2011-03-31 Thread Markus Jelsma
I don't use SolrJ. Try to find the documentation for that. On Thursday 31 March 2011 13:09:49 Amel Fraisse wrote: Hi Markus, Thank you for your response. In fact, I never used SolrCore before that. So could you give me an example to ilustrate how I could send a document to be indexed by

Re: 2 index within the same Solr server ?

2011-03-31 Thread Erick Erickson
I would guess just the way you always use cores. You'd open your connection in SolrJ with the core name tacked on, something like: CommonsHttpSolrServer server1 = new CommonsHttpSolrServer(http://localhost:8983/solr/core1); CommonsHttpSolrServer server2 = new

Re: 2 index within the same Solr server ?

2011-03-31 Thread Shawn Heisey
On 3/31/2011 5:09 AM, Amel Fraisse wrote: Hi Markus, Thank you for your response. In fact, I never used SolrCore before that. So could you give me an example to ilustrate how I could send a document to be indexed by both cores? There is no magic within Solr that would let you issue a single

Re: 2 index within the same Solr server ?

2011-03-31 Thread Deepak Singh
i have implemented this works indexing document at first index (core0) http://localhost:8983/solr/core0/update/extract/?stream.file=path_of_filenamecommit=truehttp://localhost:8983/solr/core1/admin/ indexing document at first index (core)

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi every body, This is my implementation SolrJ to instanciate 2 SolrCore. File f = new File (./solr/solr.xml); System.setProperty(solr.solr.home, solr); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer =

Re: 2 index within the same Solr server ?

2011-03-30 Thread Amel Fraisse
Hello every body, referring to the link : http://wiki.apache.org/solr/CoreAdmin. I've created a solr.xml file as follows: solr persistent=true sharedLib=lib property name=snapshooter value=/home/solr-user/solr/ bin/snapshooter.sh / cores adminPath=/admin/cores shareSchema=false

Re: 2 index within the same Solr server ?

2011-03-29 Thread Markus Jelsma
http://wiki.apache.org/solr/CoreAdmin Hello every body, Is it possible to create 2 index within the same Solr server ? Thank you. Amel.

Re: 2 index within the same Solr server ?

2011-03-29 Thread litan1...@gmail.com
Yes, you can use multicore to create 2nd index from 1st index Sent from my iPhone On Mar 29, 2011, at 6:01, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, Is it possible to create 2 index within the same Solr server ? Thank you. Amel.

Re: 2 index within the same Solr server ?

2011-03-29 Thread Rahul Warawdekar
Please refer http://wiki.apache.org/solr/MultipleIndexes On 3/29/11, Amel Fraisse amel.frai...@gmail.com wrote: Hello every body, Is it possible to create 2 index within the same Solr server ? Thank you. Amel. -- Thanks and Regards Rahul A. Warawdekar