Index sharing between multiple slaves
Hi, We are planning to setup multiple slaves to handle search loads. Some of these slaves will be on the same physical machine. Instead of each slave doing the replication, 1. Can we share the index with multiple slaves? All salves are read-only. 2. Can we have master and slave share the index? Master is write-only for indexing and slave will be read-only for search requests. Sharing of indexes makes fewer nodes doing replication and also we will be saving some disk space because we will large index upto 1 TB. Is sharing of indexes by master/slave a valid set-up? Cheers, Surya -- View this message in context: http://lucene.472066.n3.nabble.com/Index-sharing-between-multiple-slaves-tp4025996.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr and nostage deployment in weblogic
Hi, We are going to run Solr on Oracle Weblogic server. We would like to utilize Oracle Weblogic's no-stage deployment. This means, we will have webapp (Solr.war) deployed on a shared disk with multiple weblogic nodes (JVM's or Managed servers in weblogic terms) booting the same web app. Solr config (solr_home) will take run time configuration such as master/slave configurations from java -D options at the time of managed server boot-up. Question is, Has anyone running Solr in no-stage deployment in WebLogic? Any issues that you find with this set-up? Cheers, Surya -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-and-nostage-deployment-in-weblogic-tp4025997.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Index sharing between multiple slaves
Sorry, might have shared more info. Planning to have Index files in NAS and share these index files across multiple nodes. We have 4 slave nodes. For redundancy we might be having 2 nodes per a shared index. Any issues you foresee with this. I will post details once we test this. Cheers, -- View this message in context: http://lucene.472066.n3.nabble.com/Index-sharing-between-multiple-slaves-tp4025996p4033006.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Boost query vs function query in edismax query
Hi, Both the query affect solr scoring but for relevancy we use boost query as we can provide additional weights to a boost query but not to a function query. - Regards Shruti -- View this message in context: http://lucene.472066.n3.nabble.com/Boost-query-vs-function-query-in-edismax-query-tp4251139p4251640.html Sent from the Solr - User mailing list archive at Nabble.com.
Term component regex to remove stopwords
Hi, Can Termcomponent parameter terms.regex be used to ignore stop words. Regards Shruti -- View this message in context: http://lucene.472066.n3.nabble.com/Term-component-regex-to-remove-stopwords-tp4077196.html Sent from the Solr - User mailing list archive at Nabble.com.
How to apply sum function on multiValued field
Hi, Please Suggest How to apply Sum Function on multivalued field? q=_val_:"sum(title,source)"&fl=score Gives me Error of "can not use FieldCache on multivalued field: title". Regards Shruti -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-apply-sum-function-on-multiValued-field-tp4092469.html Sent from the Solr - User mailing list archive at Nabble.com.
Special character matching 'x' ?
Hi, Can someone shed some light on this? One of my field values has the name "Räikkönen" which contains a special characters. Strangely, as I see it anyway, it matches on the search query 'x' ? Can someone explain or point me to the solution/documentation? Any help appreciated, -Sanjay -- Sanjay Suri Videocrux Inc. http://videocrux.com +91 99102 66626
Re: Special character matching 'x' ?
Thanks Akshay and Norberto, I am still trying to make it work. I know the solution is what you pointed me to but is just taking me some time to make it work. thanks, -Sanjay On Thu, Sep 18, 2008 at 12:34 PM, Norberto Meijome <[EMAIL PROTECTED]>wrote: > On Thu, 18 Sep 2008 10:53:39 +0530 > "Sanjay Suri" <[EMAIL PROTECTED]> wrote: > > > One of my field values has the name "R__ikk__nen" which contains a > special > > characters. > > > > Strangely, as I see it anyway, it matches on the search query 'x' ? > > > > Can someone explain or point me to the solution/documentation? > > hi Sanjay, > Akshay should have given you an answer for this. In a more general way, if > you > want to know WHY something is matching the way it is, run the query with > debugQuery=true . There are a few pages in the wiki which explain other > debugging techniques. > > b > _ > {Beto|Norberto|Numard} Meijome > > "Ask not what's inside your head, but what your head's inside of." > J. J. Gibson > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. > Reading disclaimers makes you go blind. Writing them is worse. You have > been > Warned. > -- Sanjay Suri Videocrux Inc. http://videocrux.com +91 99102 66626
Newbie: For stopword query - All objects being returned
Hi , I realize this might be too simple - Can someone tell me where to look? I'm new to solr and have to fix this for a demo asap. If my search query is "the", all 91 objects are returned as search results. I expect 0 results. -- Sanjay Suri Videocrux Inc. http://videocrux.com +91 99102 66626
user field(uf) not working with Post filter
Hi, I am using a custom handler with edismax parser. I am using uf parameter in the handler to restrict some fields from search. But uf is not working with post filter(fq). I want to restricted same fields in fq, so that people could not filter on some fields. Please suggest how can I do that. explicit 1 10 edismax name title author key *:* * apix * -author -key - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
user field(uf) not working with Post filter
Hi, I am using a custom handler with edismax parser. I am using uf parameter in the handler to restrict some fields from search. But uf is not working with post filter(fq). I want to restricted same fields in fq, so that people could not filter on some fields. Please suggest how can I do that. explicit 1 10 edismax name title author key *:* * apix * -author -key - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: user field(uf) not working with Post filter
Hi Zheng, I am using version 6.1.0. Basically, I want few fields to be blocked in fq. Thanks - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: user field(uf) not working with Post filter
Hi Shawn, Passing "{!edismax}" with fq solves my requirements and now by passing parser with fq, uf parameter is working. Thanks Shruti suri - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Region wise query routing with solr
Hi, I want to configure Region wise query routing with Solr. Suppose, I have my data center in Singapore and India so if user hit a query from India then query should fall at Indian data center, likewise for Singapore. How can I achieve this? Is there any such functionality in Solr or SolrCloud. Thanks - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Get recent documents from solr
Hi, I want to get latest updated documents from Solr. I am indexing data from multiple view and each view has its own update date. Also I am running full-indexing job every 4 hour so can't take solrtimestamp(NOW). Is there any solr functionality by which I can achieve this. Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Get recent documents from solr
Hi, Yes we are running full indexing every 4 hours and also we are using more than 4 views to get data and each view has its own update date. - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Get recent documents from solr
Problem got resolved using MaxFieldValueUpdateProcessorFactory. I indexed all update dates fields in one field and used this processor factory on that field to get latest date among all dates - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Delta import not working with Oracle in Solr
HI, Please help me with delta import form one oracle table into solr. I don't have any primary key in the table. We need to use composite key using (LOCAL_MASTER_ID,LOCAL_ID). - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Delta import not working with Oracle in Solr
HI, Please help me with delta import form one oracle table into solr. I don't have any primary key in the table. We need to use composite key using (LOCAL_MASTER_ID,LOCAL_ID). - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Delta import not working with Oracle in Solr
My oracle table doesn't have any primary key and delta import requires a primary key, that's why I am creating it by concatenating 2 columns. For now just for testing I am using only one column. I am using solr-6.1.0 version. This is the response I am getting. But every time I run delta import , it fetches same number of records but didn't commit them. 0:0:42.255 2 10208 0 0 2018-07-08 15:37:31 2018-07-08 15:37:31 2018-07-08 15:38:13 2018-07-08 15:38:13 1 - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Delta import not working with Oracle in Solr
Dataconfig I am using now *managed-schema* data_id - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Delta import not working with Oracle in Solr
Still not working, same issue documents are not getting pushed to index. - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Special character (&) search in query not working
Hi, I have Special character(&) in my index and when I am searching for some value with ampersand, the search breaks. query term : "Travel Marketing & Finance" *FieldType* - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Special character (&) search in query not working
I am using rest query, so can't encode the query. - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Solr monitoring
Hi, I want to monitor solr Java heap and health check. What will be the best way or tool to do it in production.. Also I want to check per collection requests and memory utilization. I am using solr6.1. Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Solr monitoring
Hi Emir, Is there any open source tool for monitoring. Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Solr monitoring
Prometheus with grafana can be used? Thanks Shruti Suri - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Solr monitoring
I am using solr-6.1, will grafana with Prometheus would work ? Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Solr Log rotation
Hi, My log size is growing larger and it take most of the space. Please suggest how to handle this. Also Is there a way for log cleanup other than on startup as my servers didn't restart daily and the size keep on increasing. log4j.properties # Logging level solr.log=/var/log/solr log4j.rootLogger=INFO, file, CONSOLE log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.EnhancedPatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%-4r %-5p (%t) [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m%n #- size rotation with log cleanup. log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.MaxFileSize=10MB log4j.appender.file.MaxBackupIndex=10 #- File to log to and log format log4j.appender.file.File=${solr.log}/solr.log log4j.appender.file.layout=org.apache.log4j.EnhancedPatternLayout log4j.appender.file.layout.ConversionPattern=%d{-MM-dd HH:mm:ss.SSS} %-5p (%t) [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m%n log4j.logger.org.apache.zookeeper=WARN log4j.logger.org.apache.hadoop=WARN # set to INFO to enable infostream log messages log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF Thanks Shruti - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html