Re: Backuping SolrCloud
Thanks Ralph , Is it mandatory to stop indexing while processing backup? I didn't really understand the script - It's not iterating through all the shards an I thought it will. Thank you all for helping , I will keep track and contribute to the open JIRAs. -- View this message in context: http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624p4170783.html Sent from the Solr - User mailing list archive at Nabble.com.
Backuping SolrCloud
Hi, I'm looking for a built-in SolrCloud backup mechanism. I want to backup my Index (scheduled / manual backups) while Indexing and searching. What is the proper way to perform this backup-restore task? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Proper way to backup solr.
First, I want to thank you for your response! can you provide more information about the suggested hardlink solution? What are the advantages and disadvantages using it? can you provide an example please? meanwhile try to read about it and test it myself asap. thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Proper-way-to-backup-solr-tp4168498p4168714.html Sent from the Solr - User mailing list archive at Nabble.com.
Proper way to backup solr.
What is the proper way to backup Solr while running, in the index level and in the node level. How do you restore it afterwards ? thanks ahead. -- View this message in context: http://lucene.472066.n3.nabble.com/Proper-way-to-backup-solr-tp4168498.html Sent from the Solr - User mailing list archive at Nabble.com.
What is best practice for Solr + Jetty installation
According to CWIKI https://cwiki.apache.org/confluence/display/solr/Installing+Solr , the working Jetty server in SOLR example folder is optimized and is recommended for optimal SOLR performance. 1. What settings are optimized in the example folder and how a stand alone Jetty installation can be optimized to get an optimal performance? 2. How the provided Jetty server can be used as template ? thanks -- View this message in context: http://lucene.472066.n3.nabble.com/What-is-best-practice-for-Solr-Jetty-installation-tp4141396.html Sent from the Solr - User mailing list archive at Nabble.com.
Indexing in the case of entire shard failure
We have a system which consists of 2 shards while every shard has a leader and one replica. During indexing one of the shards (both leader and replica) was shut down. We got two types of HTTP requests: rm= Service Unavailable and rm=OK. From this we’ve got to the conclusion that the shard which was up was going on indexing. Is this behavior correct? We expected that in the case of the entire shard fails the system stop indexing completely. -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-in-the-case-of-entire-shard-failure-tp4116881.html Sent from the Solr - User mailing list archive at Nabble.com.
Implementing an alerting feature
I want to implement an alert service in my solr system. In the FAST ESP system the service is called Real Time Alerting. The service I'm looking for is: - a document is fed to solr. - without the document indexed , a set of queries run on the document - if the document answers a query - an alert will be sent in near Real-Time. -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-an-alerting-feature-tp4113666.html Sent from the Solr - User mailing list archive at Nabble.com.
monitoring solr system
hi, we have a cluster consisting of 6 servers. 3 leaders and 3 replicas. The system must be alive and working 24X7. We would like to monitor the system for any troubles or problems that may occur and will demand our immediate support. Currently we are monitoring the servers, the zookeeper and the jetty processes, and query keep-alive. Are there any other monitoring you would recommend us? Are there any important log messages we should pay attention to? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/monitoring-solr-system-tp4109730.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: monitoring solr logs
Is it possible to monitor all the nodes in a solrcloud together, that way? -- View this message in context: http://lucene.472066.n3.nabble.com/monitoring-solr-logs-tp4108721p4109067.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Chaining plugins
If I want to do it? do i have to work with the source code version of solr? if so, where is the default search handler located? -- View this message in context: http://lucene.472066.n3.nabble.com/Chaining-plugins-tp4108239p4109102.html Sent from the Solr - User mailing list archive at Nabble.com.
custom updateHandler
*ok im really lost... Im trying to set a custom updatehandler ran into this: * package my.solr; //imports were here - deleted for shorting. public class myPlugin extends UpdateRequestProcessorFactory { @Override public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) { return new ConditionalCopyProcessor(next); } } class ConditionalCopyProcessor extends UpdateRequestProcessor { public ConditionalCopyProcessor( UpdateRequestProcessor next) { super( next ); } @Override public void processAdd(AddUpdateCommand cmd) throws IOException { SolrInputDocument doc = cmd.getSolrInputDocument(); doc.setField(price, 12); Object v = doc.getFieldValue( popularity ); if( v != null ) { int pop = Integer.parseInt( v.toString() ); if( pop 5 ) { doc.addField( cat, Itzik ); } } doc.addField( cat, naaa ); // pass it up the chain cmd.solrDoc.setField(price, 12); super.processAdd(cmd); } } *then in the solrconfig of the collection changed update handler like so:* requestHandler name=/update class=solr.UpdateRequestHandler lst name=invariants str name=update.processorKeepIndexed/str /lst /requestHandler updateRequestProcessorChain name=KeepIndexed processor class=my.solr.myPlugin/ processor class=solr.RunUpdateProcessorFactory / processor class=solr.LogUpdateProcessorFactory / /updateRequestProcessorChain * I put the jar made from the class myPlugin in the lib folder. add : lib dir=../../lib/ regex=.*\.jar / to the lib section in solrconfig then trying to index a file - but the field wont change! how come? * -- View this message in context: http://lucene.472066.n3.nabble.com/custom-updateHandler-tp4109153.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Chaining plugins
I will make it clear. I want to save the query into a file when a user is changing a parameter in the query, lets say he adds logTofile=1 then the searchHandler will provide the same result as without this parameter, but in the background it will do some logic(ex. save the query to file) . But I dont want to touch solr source code, all I want is to add code(like plugin). if i understand it right I want to write my own search handler , do some logic , then pass the data to solr default search handler. how do i accomplish this? -- View this message in context: http://lucene.472066.n3.nabble.com/Chaining-plugins-tp4108239p4108662.html Sent from the Solr - User mailing list archive at Nabble.com.
side logging requests
Hi all, currently there are 2 things I want to accomplish. I want that on demend Every doc (xml) that is sent to be indexed in solr will be copied to a big log file (I want to control when to activate this feature and when to deactivate) same as for queries. Also, I may need to manipulate the data before its written. Is there any way achieving this without changing solr sourcecode? (So it won't be affected by updates). I thought of a possible way, I posted before about making transparent request handler , is it possible ? If so, how? thankkk you! -- View this message in context: http://lucene.472066.n3.nabble.com/side-logging-requests-tp4108752.html Sent from the Solr - User mailing list archive at Nabble.com.
Chaining plugins
I would like to develope a search handler that is doing some logic and then just sends the query to the default search handler so the results will be generated there. It's like it is a transparent plugin and the data will only go through it. How can this be achieved . thanks ahead :) -- View this message in context: http://lucene.472066.n3.nabble.com/Chaining-plugins-tp4108239.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr query syntax.
Im using the default qparser that come with solr 4.4 , Is there anything better? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-syntax-tp4103784p4104344.html Sent from the Solr - User mailing list archive at Nabble.com.
Converting Fast ESP queries(fql) to Solr query syntax
I would like to perform searches in Solr using queries I extracted from Fast ESP . The queries are written in FQL (fast query language) format and I want to convert them to Solr query syntax . Is there any way to preform a search like this in Solr? Maybe a tool available? Could not find anything on the web. Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-Fast-ESP-queries-fql-to-Solr-query-syntax-tp4103754.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr query syntax.
Is solr ignoring parts of the query that dont consider fields. something like and(blabla , name: george) It wont throw an exeption, so what is he considering blablabla to? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-syntax-tp4103784.html Sent from the Solr - User mailing list archive at Nabble.com.