Single zookeeper ensemble for multiple solr instances/clusters

2016-03-14 Thread solr2020
Hi , I have multiple Solr clusters running(5 clusters), i would like to make use of single zookeeper ensemble contains (3 servers) . can anyone tell me what is the pros and cons of this approach? Thanks, Gomathi -- View this message in context: http://lucene.472066.n3.nabble.com/Single-zook

Solr:Skip document from indexing when it matches specific value

2016-03-19 Thread solr2020
Hi, How we can ignore a document from indexing into solr when a field matches particular value. Eg. we would like to ignore a document from indexing when document's field path matches value "/content". Do we have any OOTB processors to accomplish this in solr. Thanks. -- View this message in c

Re: Solr:Skip document from indexing when it matches specific value

2016-03-23 Thread solr2020
thanks. i am able to do this by extending UpdateRequestProcessorFactory . -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Skip-document-from-indexing-when-it-matches-specific-value-tp4264071p4265526.html Sent from the Solr - User mailing list archive at Nabble.com.

Merge two Solr documents into One

2016-03-23 Thread solr2020
Hi, I have 2-3 Solr documents but i would like to merge all these into one document while indexing. Something like parent-child. So do we have any utils for Solr to merge two or more SolrInputDocument into one SolrInputDocument. Thanks, Gomathi. -- View this message in context: http://lucene.

Re: Nodes appear twice in state.json

2016-05-10 Thread solr2020
Hi Shalin, How do we edit state.json? Do we have any utility to edit state.json as we have for clusterstate.json? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Nodes-appear-twice-in-state-json-tp4274504p4275791.html Sent from the Solr - User mailing list archive

Re: Nodes appear twice in state.json

2016-05-10 Thread solr2020
i am able to delete the down/unused cores which does not actually a core but it have an entry in state.json using the DELETEREPLICA API. /admin/collections?action=DELETEREPLICA&collection=collection name&shard=shardname&replica=(dead/unused core name listed in state.json) eg: /admin/collections

How do we get terms suggestion from SuggestComponent?

2016-06-20 Thread solr2020
Hi, I am using solr.SuggestComponent for auto suggestion, it works fine. But the problem is, it returns the whole field value as suggestion instead of terms. But my requirement is term needs to be returned as suggestion. How do we achieve this with solr.SuggestComponent? Thanks. -- View this

Re: How do we get terms suggestion from SuggestComponent?

2016-06-21 Thread solr2020
Thanks Ahmet. It is working fine. Now i would like to get suggestions for multiple terms. How do i get suggestions for multiple terms?

solr date range query

2016-08-16 Thread solr2020
Hi, We have list of events with events start date and end date.for eg: event1 starts @ 2nd Aug 2016 ends @ 3rd Aug 2016 event2 starts @ 4th Aug 2016 ends @ 5th Aug 2016 event3 starts @ 1st Aug 2016 ends @ 7th Aug 2016 event4 starts @ 15th july 2016 ends @ 15th Aug 2016 when user selects a date ra

Re: solr date range query

2016-08-16 Thread solr2020
yes. dates are stored as a single valued date field -- View this message in context: http://lucene.472066.n3.nabble.com/solr-date-range-query-tp4291918p4291920.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr date range query

2016-08-16 Thread solr2020
eventStartdate:[2016-08-02T00:00:00Z TO 2016-08-05T23:59:59.999Z] OR eventEnddate:[2016-08-02T00:00:00Z TO 2016-08-05T23:59:59.999Z] this is my query. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-date-range-query-tp4291918p4291922.html Sent from the Solr - User mail

overwrite the parameter query in DIH

2017-09-21 Thread solr2020
Hi All, We are retrieving mongodb data using Dataimport handler. We have a scenario where we have to overwrite the mongodb query configured in data-config file. We have to do this overwrite programmatically using solrj. For this we are using ModifiableSolrParams to set the parameters. Here is the

Re: overwrite the parameter query in DIH

2017-09-24 Thread solr2020
Thanks Erick. We are almost done with the full indexing part using DIH. So if we change the approach using Solrj now, we need to re-write the entire thing. So is there any way to overwrite the DIH data config file. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solrcloud replication not working

2017-10-05 Thread solr2020
Hi, We are using Solr 6.4.2 & SolrCloud setup. We have two solr instances in the solr cluster.This solrcloud running in ubuntu OS. The problem is replication is not happening between these two solr instances. sometimes it replicate 10% of the content and sometimes not. In Zookeeper ensemble we h

Solrcloud replication not working

2017-10-05 Thread solr2020
Hi, We are using Solr 6.4.2 & SolrCloud setup. We have two solr instances in the solr cluster.This solrcloud running in ubuntu OS. The problem is replication is not happening between these two solr instances. sometimes it replicate 10% of the content and sometimes not. In Zookeeper ensemble we h

Re: Solrcloud replication not working

2017-10-05 Thread solr2020
thanks. We dont see any error message/any message in logs. And we have enough disk space. We are running solr as root user in ubuntu box but zookeeper process running as zookeeper user.Will that cause the problem? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solrcloud replication not working

2017-10-10 Thread solr2020
i could see different version of the below entries in Leader and replica. While doing index , in replica instance logs we could see it is keep receiving update request from leader but it says no changes, skipping commit. Master (Searching) Master (Replicable) There is no other error me

Re: Solrcloud replication not working

2017-10-12 Thread solr2020
The problem was replicationFactor was set to 1.Now replication works fine while setting replicationFactor as 2. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Multiple tables data aggregation

2017-04-24 Thread solr2020
Hi, We have set of mongodb collections which has one-many mapping/relation. So we are trying to create single document in solr from rows of different mongodb collections at the time of indexing. Can anyone suggest the best approach to achieve this? Thanks. -- View this message in context: htt

More heap usage in Solr during indexing

2014-03-17 Thread solr2020
Hi, we have 80 million records in index now and we are indexing 800k records everyday.We have one shard and 4 replicas in 4 servers under solrcloud. Currently we have 16GB heap but during indexing sometimes it is reaching 16GB and sometimes its normal. What is the reason to use the max heap at som

Re: More heap usage in Solr during indexing

2014-03-17 Thread solr2020
previously we faced OOM when we try to index 1.2M records at the same time. Now we divided that into two chunks and indexing twice. So now we are not getting OOM but heap usage is more. So we are analyzing and trying to find the cause to make sure we shouldn't get OOM again. -- View this message

Re: More heap usage in Solr during indexing

2014-03-17 Thread solr2020
Yes Shawn. our data source is oracle DB. Here is the datasource section config. -- View this message in context: http://lucene.472066.n3.nabble.com/More-heap-usage-in-Solr-during-indexing-tp4124898p4124934.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: More heap usage in Solr during indexing

2014-03-19 Thread solr2020
We are doing Autocommit for every five minutes. -- View this message in context: http://lucene.472066.n3.nabble.com/More-heap-usage-in-Solr-during-indexing-tp4124898p4125497.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Parallel queries to Solr

2014-03-20 Thread solr2020
Thanks Shawn. When we run any solrj application , the below message is displayed org.apache.solr.client.solrj.impl.HttpClientUtil createClient INFO: Creating new http client, config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false and while restarting solr we are getting this mes

Solr data directory contains index backups

2014-04-22 Thread solr2020
Hi, We have a solrcloud where we have one shard and four replicas.We know that Solr will create an index backup when something happens inside solrcloud. So data directory contains more than one index folders. like snapshot.20130920231746353 index.20130712112751477 index.2013... So after some

Re: Solr data directory contains index backups

2014-04-25 Thread solr2020
Thanks Greg. Is there any Solr configuration to do this periodically if any unused index copy or snapshot exists in data directory.? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-data-directory-contains-index-backups-tp4132590p4133221.html Sent from the Solr - User ma

How Solr join query works?

2014-01-12 Thread solr2020
Hi All, Can anyone please explain how solr join query works in solr4.2. we have 2 different documents.Both are in the same index. document1 contains the columns: docdate: 01-12-2012 previousmonthdate :01-11-2012 price:15 and some more fields. document2 contains: docdate :01-11-2012 previous

QParser parsing date into unix timestamp format

2014-01-17 Thread solr2020
Hi, We are writing our own search handler. We are facing this below issue. We are passing a date(Date:(["2012-10-01T00:00:00.000Z"+TO+"2012-10-01T23:59:59.999Z"])) for date range search to QParser.getParser method but it is converting the date to unix timestamp format.(Date:([132217920 TO 132

Re: Apache Solr.

2014-02-03 Thread solr2020
You can have this kind of configuration in Data import handler xml file to index different type of files. Hope this helps. -- View this message in context: http://lucene.472066.n3

Parallel queries to Solr

2014-02-26 Thread solr2020
Hi, We want to send parallel queries(2-3 queries) in the same request from client to Solr. How to send the parallel queries from client side(using Solrj). Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Parallel-queries-to-Solr-tp4119959.html Sent from the Solr -

Re: Parallel queries to Solr

2014-02-27 Thread solr2020
Thanks Jack. We are using DefaultHttpClient 4.2 .3 on solrj side to send parallel queries to Solr. But the connection manager associated with this (PoolingHttpClientConnectionManager) by default allows 2 concurrent connections only.How to send more than 2 parallel queries/how to establish more th

Date field indexing in Solr

2014-02-27 Thread solr2020
Hi, We are using 'solr.TrieDateField' type for indexing a date column in Solr. By default triedate will index date columns as UTC format. But we need the date as it is in the source(DB table) with time associated with that date. Do we need to use DateFormatTransformer to get the right date format.

Separate logging for Solr updatereuesthandler

2014-11-20 Thread solr2020
Hi , we have a Solr(solr4.2) setup with Jetty web server and the events are logged using log4j with the log level INFO.But here we would like to get more details about the update request received by UpdateRequestHandler. So is there anyway to configure debug log level kind of stuff for Update requ

How to track UpdateRequestHandler activities?

2014-12-15 Thread solr2020
Hi, We are doing data update using solrj.First we are deleting the records that needs to be updated and inserting them again with the updated value.Sometimes this updates fails and we don't have any clue where it stuck.So we want to track the UpdateRequestHandler activities something like in a se

Replication in solrloud

2015-01-30 Thread solr2020
Hi, We have 4 servers in Solrcloud with one shard. 2 of the servers are not in sync with other two.We like to force replication manually to keep all the servers in sync.Do we have a command to force replication? (other than Solr restart). Thanks. -- View this message in context: http://luce

Adding virtual host in Jetty (Solr deployed)

2018-02-01 Thread solr2020
Hi, We have installed solr which is running in jetty 9x version. We are trying to change the default solr url to required URL as given below. Default url: http://localhost:8983/solr Required URL :http://test.com/solr To achieve this we are trying to configure virtual host in jetty (solr-jetty-c

Re: Adding virtual host in Jetty (Solr deployed)

2018-02-01 Thread solr2020
We have added virtualHosts block in solr-jetty-context.xml file under /opt/solr/server/contexts and then restarted solr(jetty). After this while trying to access solr using the url http://www.host.com:8983/solr it says site can't be reached. http://www.eclipse.org/jetty/configure_9_0.dtd";>

Disadvantages of having Zookeeper instance and Solr instance in the same server

2018-05-29 Thread solr2020
Hi, What is the pros and cons of having Zookeeper instance and Solr instance in the same VM/Server in production environment? Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html