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.
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