2 Solr Instance with One Data Directory

2017-09-14 Thread Ravi Kumar Taminidi
Hi Any one tried, have  2 solr Instance with One Data Directory. 

I get below Error when i try to point the 2nd solr to the first solr directory.

Any help ?

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
Index dir '/engine/data/index/' of core 'engine' is already locked. The most 
likely cause is another Solr server (or another solr core in this server) also 
configured to use this directory; other possible causes may be specific to 
lockType: native

Thanks

Ravi

Solr in NAS or Network Shared Drive

2017-05-19 Thread Ravi Kumar Taminidi
Hello,  Scenario: Currently we have 2 Solr Servers running in 2 different 
servers (linux), Is there any way can we make the Core to be located in NAS or 
Network shared Drive so both the solrs using the same Index.

Let me know if any performance issues, our size of Index is appx 1GB.

Thanks

Ravi

-Original Message-
From: biplobbiswas [mailto:revolutionisme+s...@gmail.com] 
Sent: Friday, May 19, 2017 9:23 AM
To: solr-user@lucene.apache.org
Subject: Re: Nested Document is flattened even with @Field(child = true) 
annotation

Hi
Mikhail Khludnev-2 wrote
> Hello,
> 
> You need to use
> https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherPa
> rsers-BlockJoinQueryParsers
> and
> https://cwiki.apache.org/confluence/display/solr/Transforming+Result+D
> ocuments#TransformingResultDocuments-[child]-ChildDocTransformerFactor
> y
> to get the nested data back.
> 
> 
> --
> Sincerely yours
> Mikhail Khludnev

I had already gone through those links you posted and they talk about 
retrieving after indexing. My problem is that my documents are not indexed in a 
nested structure.

Can you please look at the first comment as well where I posted a sample code 
and sample response which i get back.

Because its creating distinct documents for nested structure




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Nested-Document-is-flattened-even-with-Field-child-true-annotation-tp4335877p4335891.html
Sent from the Solr - User mailing list archive at Nabble.com.