Re: Parent Child Schema Design

2016-01-07 Thread Pranaya Behera
Hi Binay, Are you saying there is no need to add anything to the existing schema that I have ? While indexing all I have to provide is a _childDocuments_ key and the key => value pair as per I want without needing to specify it in the schema.xml ? On Thursday 07 January 2016 01:

Re: Parent Child Schema Design

2016-01-07 Thread Binoy Dalal
Yes. Provided your fields are already defined. On Thu, 7 Jan 2016, 17:52 Pranaya Behera wrote: > Hi Binay, >Are you saying there is no need to add anything to the > existing schema that I have ? While indexing all I have to provide is a > _childDocuments_ key and the key => value

Re: Solr server not starting

2016-01-07 Thread Paul Hoffman
On Wed, Jan 06, 2016 at 05:11:06PM +0100, agonn Qurdina wrote: > Hi, > > I am using Solr server with Echoprint service > (https://github.com/echonest/echoprint-server). The first time I started > it everything worked perfectly. This is the way I started it: > > java -Dsolr.solr.home=/home/echop

Re: When there will be clusterstate.json after solr v5.3?

2016-01-07 Thread Erick Erickson
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-MigrateClusterState On Wed, Jan 6, 2016 at 10:43 PM, forest_soup wrote: > We using solr 5.3.1 with solrcloud mode. > > As the document said, the state of newly created collections is stored in > the state.json of ea

Re: Parent Child Schema Design

2016-01-07 Thread Binoy Dalal
To clarify, what I meant was any field that you wish to use either in your child or parent document has to already be defined in the schema. You need to define these fields normally, meaning no you are not required to make any special changes to the field definition for use in either parent or chi

Re: Parent Child Schema Design

2016-01-07 Thread Yonik Seeley
On Thu, Jan 7, 2016 at 1:50 PM, Steven White wrote: > How nested can a parent / child document be? And how many child documents > can be in a parent node? No real limit (other than the normal ones... you can't have more than 2B docs in a single segment)... probably just a practical limit based o

Re: I cannot create replica in Solr

2016-01-07 Thread persoy
Actually It has. I can see configs/contracts. First this error is throwing org.apache.solr.common.SolrException: Could not load conf for core contracts_shard1_replica1: Error loading solr config from solrconfig.xml at o

Solrcloud for Java 1.6

2016-01-07 Thread Aswath Srinivasan (TMS)
Hi fellow developers, I have a situation where the search front-end application is using java 1.6. Upgrading Java version is out of the question. Planning to use Solrcloud 5.x version for the search implementation. The show stopper here is, solrj for solrcloud needs atleast java1.7 What best c

Facetting on EnumFields using JSON API (Bug?)

2016-01-07 Thread Niko Weh
Hi everyone, I've posted in #solr and #solr-dev about this and was redirected here. I'm having trouble with the JSON Facet API. Unsure whether it is a bug or a usage error, but I couldn't find anything on google or the documentation about this. When facetting on an EnumField, i'm getting an err

Re: Solrcloud for Java 1.6

2016-01-07 Thread Shawn Heisey
On 1/7/2016 3:11 PM, Aswath Srinivasan (TMS) wrote: > I have a situation where the search front-end application is using java 1.6. > Upgrading Java version is out of the question. > > Planning to use Solrcloud 5.x version for the search implementation. The show > stopper here is, solrj for solrcl

Solr UIMA Custom Annotator PEAR file installation on Linux

2016-01-07 Thread techqnq
implemented custom annotator and generated the PEAR file. Windos has the PEAR installer utility but how to do this from command line or what other options on Linux OS? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-UIMA-Custom-Annotator-PEAR-file-installation-on-Linux-

Re: I cannot create replica in Solr

2016-01-07 Thread Binoy Dalal
1) Is the solrconfig.xml file actually present under /configs/contracts? Also is it the correct one that you've uploaded? 2) Have you linked the configset to the collection? On Fri, 8 Jan 2016, 01:40 persoy wrote: > > Actually

Re: I cannot create replica in Solr

2016-01-07 Thread Erick Erickson
Those files have nothing to do with an uploaded config! You _should_ be seeing files like "solrconfig.xml", "schema.xml" (or "managed_schema"), perhaps files like "stopwords.txt" and the like. Essentially, everything that you would expect to find in the "conf" directory for Solr. Somewhere, you mu

Re: Memory Usage increases by a lot during and after optimization .

2016-01-07 Thread Zheng Lin Edwin Yeo
Hi Shawn, I am using Java Version 8 Update 45 (build 1.8.0_45-b15). It is a 64-bit Java. Thank you. Regards, Edwin On 8 January 2016 at 00:15, Shawn Heisey wrote: > On 1/7/2016 12:53 AM, Zheng Lin Edwin Yeo wrote: > >> Subtracting SHR from RES (or in your case, Shareable from Working) > >> r

Manage schema.xml via Solrj?

2016-01-07 Thread Bob Lawson
I want to programmatically make changes to schema.xml using java to do it. Should I use Solrj to do this or is there a better way? Can I use Solrj to make the rest calls that make up the schema API? Whatever the answer, can anyone point me to an example showing how to do it? Thanks!

Re: Manage schema.xml via Solrj?

2016-01-07 Thread Binoy Dalal
I am not sure about solrj but you can use any XML parsing library to achieve this. Take a look here: http://www.tutorialspoint.com/java_xml/java_xml_parsers.htm On Fri, 8 Jan 2016, 08:06 Bob Lawson wrote: > I want to programmatically make changes to schema.xml using java to do > it. Should I us

Re: Solrcloud for Java 1.6

2016-01-07 Thread billnbell
Run it on 2 separate boxes Bill Bell Sent from mobile > On Jan 7, 2016, at 3:11 PM, Aswath Srinivasan (TMS) > wrote: > > Hi fellow developers, > > I have a situation where the search front-end application is using java 1.6. > Upgrading Java version is out of the question. > > Planning to u

Re: Manage schema.xml via Solrj?

2016-01-07 Thread Erick Erickson
I'd ask first what the high-level problem you're trying to solve is, this could be an XY problem. That said, there's the Schema API you can use, see: https://cwiki.apache.org/confluence/display/solr/Schema+API You can access it from the SolrJ library, see SchemaRequest.java. For examples of using

JSON Facet in SolrJ

2016-01-07 Thread Eric Dain
Is JSON Facet supported in SolrJ? If not is there a work around? Thanks

Re: Solrcloud for Java 1.6

2016-01-07 Thread Zap Org
i have solrj5 client for 1.7 converted into 1.6 and solr instances running with 1.7. I am connecting solrj (1.6) wit solr instances(1.7) on two different machines On Fri, Jan 8, 2016 at 8:26 AM, wrote: > Run it on 2 separate boxes > > Bill Bell > Sent from mobile > > > > On Jan 7, 2016, at 3:11

RE: Solrcloud for Java 1.6

2016-01-07 Thread Aswath Srinivasan (TMS)
Thanks for the responses guys. >> i have solrj5 client for 1.7 converted into 1.6 Can you please explain in part with little more details? Thank you, Aswath NS Mobile +1 424 345 5340 Office+1 310 468 6729 -Original Message- From: Zap Org [mailto:zapor...@gmail.com] Sent: Thursday,

RE: Solrcloud for Java 1.6

2016-01-07 Thread Aswath Srinivasan (TMS)
Thanks for the responses guys. >> i have solrj5 client for 1.7 converted into 1.6 Can you please explain this part with little more details? Thank you, Aswath NS -Original Message- From: Aswath Srinivasan (TMS) [mailto:aswath.sriniva...@toyota.com] Sent: Thursday, January 07, 2016 9:5

Solr search and index rate optimization

2016-01-07 Thread Zap Org
i wanted to ask that i need to index after evey 15 min with hard commit (real time records) and currently have 5 zookeeper instances and 2 solr instances in one machine serving 200 users with 32GB RAM. whereas i wanted to serve more than 10,000 users so what should be my machine specs and what shou

Re: Solrcloud for Java 1.6

2016-01-07 Thread Zap Org
i have solr5.0.0 installed in one machine with JVM specs java 1.7 32GB RAM now from another machine i am sending query request to this machine with specs JAVA 1.6 so what really happening solr5.0.0 (1.7) is communicating with solrj5.0.0(1.6) provide your architecture detail ill further explain it

Re: Solrcloud for Java 1.6

2016-01-07 Thread Walter Underwood
You can have multiple Java versions installed on the same system. Well, the same non-Windows system. Use the PATH environment variable to set the right Java for each application. If you really, really must run Java 1.6 for everything, you will not be running Solr 5.x. I think the switch to requ

Re: Solrcloud for Java 1.6

2016-01-07 Thread Shawn Heisey
On 1/7/2016 10:59 PM, Zap Org wrote: > i have solr5.0.0 installed in one machine with JVM specs java 1.7 32GB RAM > now from another machine i am sending query request to this machine with > specs JAVA 1.6 > so what really happening solr5.0.0 (1.7) is communicating with > solrj5.0.0(1.6) The syste