Re: Update Solr 7.7 Reference Guide graceTime -> graceDuration

2019-05-02 Thread Jan Høydahl
Thanks. Actually you may edit the page and submit a GitHub PullRequest directly if you wish at https://github.com/apache/lucene-solr/blob/master/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc

Re: Update Solr Document

2018-06-01 Thread Alessandro Benedetti
There is no quick answer, it really depends on a lot of factors... *TL;DR* : Updating a single document field will likely take more time in a bigger collection. *Partial Document Update* First of all, which field are you updating ? Depending on the type and attributes you may end up in different s

Re: Update Solr Document

2018-06-01 Thread Emir Arnautović
Hi Rushikesh, There is no update of documents in Solr - it is always indexing a new document to a new segment. That means that indexing operation is equally heavy on any collection. But that does not mean that updates will take equal time. There are other activities that are heavier on larger in

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Shawn Heisey
On 3/14/2015 1:32 AM, Zheng Lin Edwin Yeo wrote: > What I experienced is when I create a new collection, there's no physical > schema in that collection. But there is schema.xml in some of the example > folder. You can create your own schema.xml in your own collection, but in > order to use it, you

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
Ok.. Got Zheng... Thanks a Lot.. On Sat, Mar 14, 2015 at 1:02 PM, Zheng Lin Edwin Yeo wrote: > Hi Nitin, > > What I experienced is when I create a new collection, there's no physical > schema in that collection. But there is schema.xml in some of the example > folder. You can create your own sch

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Zheng Lin Edwin Yeo
Hi Nitin, What I experienced is when I create a new collection, there's no physical schema in that collection. But there is schema.xml in some of the example folder. You can create your own schema.xml in your own collection, but in order to use it, you have to change the schemaFactory class to Cla

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
Hi Zheng, As you said **there's no physical schema.xml** but I have. I am using sampletechproductsconfig configuration where I have found schema.xml. In that, I am managing my schema.xml and then I upload that it into zookeeper and reload the collection. On 3/14/15, Zheng Lin Edwin

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-13 Thread Zheng Lin Edwin Yeo
Hi Erick, The "real time update of the schema" means we can just do an update using REST-API curl instead of manually editing the schema.xml and restart the Solr server. In Solr 5.0, if Solr is loading the schema from the resource named in 'managedSchemaResourceName', instead of schema.xml, I can

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-13 Thread Zheng Lin Edwin Yeo
Hi Nitin, To update the schema using Curl in Solr 5.0, we can use the following command if we are using ManagedIndexSchemaFactory: curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field" : { "name":"sell-by", "type":"tdate", "stored":true} }' http:

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-12 Thread Erick Erickson
Actually I ran across a neat IntelliJ plugin that you could install and directly edit ZK files. And I'm pretty sure there are stand-alone programs that do this, but they are all outside Solr. I'm not sure what "real time update of the schema" is for, would you (Zheng) explain further? Collections

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-12 Thread Shawn Heisey
On 3/12/2015 2:00 AM, Zheng Lin Edwin Yeo wrote: > I understand that in Solr 5.0, they provide a REST API to do real-time > update of the schema using Curl. However, I could not do that for my > eariler version of Solr 4.10.1. > > Would like to check, is this function available for the earlier ver

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-12 Thread Nitin Solanki
Hi Zheng, *** I understand that in Solr 5.0, they provide a REST API to do real-time update of the schema using Curl ** *. Would please help me how to do this? I need to update both schema.xml and solrconfig.xml in Solr 5.0 in SolrCloud. Your help is appreciated.. *Thanks Again..* On Thu, Mar

RE: Update Solr Schema To Store Field

2012-02-01 Thread Michael Ryan
This should be fine. From my experience, changing a field from stored="false" to stored="true" and vice versa is generally safe to do and has no unexpected behavior. -Michael

RE: update solr index

2010-01-12 Thread Marc Des Garets
ekhar Mangar [mailto:shalinman...@gmail.com] Sent: 12 January 2010 07:49 To: solr-user@lucene.apache.org Subject: Re: update solr index On Mon, Jan 11, 2010 at 7:42 PM, Marc Des Garets wrote: > > I am running solr in tomcat and I have about 35 indexes (between 2 and > 80 millions documents

Re: update solr index

2010-01-11 Thread Shalin Shekhar Mangar
On Mon, Jan 11, 2010 at 7:42 PM, Marc Des Garets wrote: > > I am running solr in tomcat and I have about 35 indexes (between 2 and > 80 millions documents each). Currently if I try to update few documents > from an index (let's say the one which contains 80 millions documents) > while tomcat is ru

RE: update solr

2008-09-15 Thread Kashyap, Raghu
SOLR 1.3.0 is in process of being released soon. If you wait for it you can get the latest official release that you can use. http://wiki.apache.org/solr/SolrInstall http://wiki.apache.org/solr/Solr1.3?highlight=(1.3) -Raghu -Original Message- From: sunnyfr [mailto:[EMAIL PROTECTED] Se

Re: [Update] Solr can be started from jetty but not tomcat

2008-06-19 Thread mike segv
The error messages due to this problem are very misleading. After a lot of trial and error I got solr to work with tomcat by adding the xalan.jar to the libs directory and rebuilding the war file. Vinci wrote: > > Hi all, > > after several hour I make the solr works a little bit: the jetty v

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-14 Thread Vinci
Hi, I am using java 1.6, the tomcat 5.5 also contains this file. But actually this is the problems solved by adding 4 jar...I think the problem may be come will xalan.jar ( resolver.jar I am not so sure) but anyone in trouble can try this sequence xalan.jar->resolver.jar->xercesImpl.jar->xml-api

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Chris Hostetter
: By your hint, I found there is XML library missing in tomcat, not ... : ** Also please someone kindly put those library in the system requirement/ : wiki FAQ. That save a lot of people and forum resources if all library used : is listed properly (with links) - newly build tomcat server h

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Ryan McKinley
glad you got things worked out. I don't use tomcat, so I can't be too much use. Check: http://wiki.apache.org/solr/SolrTomcat and also feel free to include any tips to help others as well. One more question: Does tomcat have anywhere to place the library shared by all application? This i

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading "deployment success" message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual chang

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading "deployment success" message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual chang

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
Hi ryantxu, By your hint, I found there is XML library missing in tomcat, not multicore.xml cause the problem (* For single core mode, you should not allow any multicore.xml exist in solr/home - unless you placed the file properly, as http://www.nabble.com/forum/ViewPost.jtp?post=16001210 mentio

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
Hi, Thank you for you reply. here is the last line in the catalina log...Does XPath fail? If so, what should I do? Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFact

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-12 Thread Ryan McKinley
Vinci wrote: Hi all, after several hour I make the solr works a little bit: the jetty version works, but the tomcat version doesn't. To me it looks like the xml parser is not loading properly... check the last line of your trace. at org.apache.catalina.startup.Bootstrap.main(Boot