Different result for the same query?

2011-04-07 Thread Amel Fraisse
Hello every body, I am using Solr for indexing and searching. I am using 2 classes for searching document: In the first one I'm instanciating a SolrServer to search documents as follows : server = new EmbeddedSolrServer( coreContainer, ""); server.add(doc); query.setQuery("id:"+idDoc); server.qu

Different Result for the same query depending on using SolrServer or SolrCore ?

2011-04-05 Thread Amel Fraisse
Hello every body, I am using Solr for indexing and searching. I am using 2 classes for searching document: In the first one I'm instanciating a SolrServer to search documents as follows : server = new EmbeddedSolrServer(coreContainer, ""); server.add(doc); query.setQuery("id:"+idDoc); server.que

Re: SolrException: No such core: core1

2011-04-01 Thread Amel Fraisse
. 2011/4/1 Stefan Matheis > and my origin question .. accessing /solr and see which cores are list? > > On Fri, Apr 1, 2011 at 11:11 AM, Amel Fraisse > wrote: > > yes with this link : http://localhst:8983/solr/core1/admin I have the > same > > message such : >

Re: SolrException: No such core: core1

2011-04-01 Thread Amel Fraisse
l generate a list of available cores > for you. in MultiCore-Mode you'll need to put the Core-Name into the > url, like this: /solr/core1/admin > > Regards > Stefan > > On Fri, Apr 1, 2011 at 11:03 AM, Amel Fraisse > wrote: > > Hi Stefan, > > > > This my

Re: SolrException: No such core: core1

2011-04-01 Thread Amel Fraisse
.xml look like? and if you visit the > Solr-Admin-Interface, are there Links for (at least) two cores listed? > > Regards > STefan > > On Fri, Apr 1, 2011 at 10:41 AM, Amel Fraisse > wrote: > > Hello every body, > > > > I tried to run this code: &

SolrException: No such core: core1

2011-04-01 Thread Amel Fraisse
Hello every body, I tried to run this code: File f = new File ("./solr/solr.xml"); System.setProperty("solr.solr.home", "solr"); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize();

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
; http://localhost:8983/solr/core1/update/extract/?stream.file=path_of_filename&commit=true<http://localhost:8983/solr/core1/admin/> >> >> >> >> On Thu, Mar 31, 2011 at 4:28 PM, Amel Fraisse wrote: >> >>> >>> >>> 2011/3/31 Deepak Singh

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
lename&commit=true<http://localhost:8983/solr/core1/admin/> > > indexing document at first index (core) > > http://localhost:8983/solr/core1/update/extract/?stream.file=path_of_filename&commit=true<http://localhost:8983/solr/core1/admin/> > > > > On Thu, M

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 > > > On Thursday 31 March 2011 12:58:54 Amel Frai

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
index and in the second index). Amel. 2011/3/31 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 wrote: > >> Hello every

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
reAdmin ) 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. > > On Wed, Mar 30, 2011 at 7:07 PM, Amel Fraisse wrote: > >> Hello eve

SolrCore

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: So before using SolrCore I instanciated a SolrServer to index and search documents as follows: System.setProperty("solr.solr.home",

Re: 2 index within the same Solr server ?

2011-03-30 Thread Amel Fraisse
er.getCoreContainer(); SolrCore mycore1 = container.getCore("core1"); SolrCore mycore2 = container.getCore("core2"); So how I could index and search document within the 2 indexes? Thank you for your help. 2011/3/29 Rahul Warawdekar > Please refer >

2 index within the same Solr server ?

2011-03-29 Thread Amel Fraisse
Hello every body, Is it possible to create 2 index within the same Solr server ? Thank you. Amel.

Create 2 index with solr

2011-03-25 Thread Amel Fraisse
Hi, I am using Solr to index documents. And I would index my documents with 2 different analyzer and generate 2 index. So I don't know how I could generate 2 different index? Thank you for your help. Amel.