Re: TolerantUpdateProcessorFactory maxErrors=-1 issue

2018-09-20 Thread Derek Poh
Does any one have any idea whatcould be the causeof this? On 19/9/2018 11:40 AM, Derek Poh wrote: In addition, I tried withmaxErrors=3 and with only 1error document, the indexing process still gets aborted. Could it be the way I defined the TolerantUpdateProcessorFactory in solrconfg.xml?

Re: Solr 7.X negative filter not working

2018-09-20 Thread Yonik Seeley
I just tried the master branch quickly, and I can't reproduce this. "params":{ "q":"*:*", "debug":"true", "fq":"title_t:(NOT Kings)"}}, [...] "QParser":"LuceneQParser", "filter_queries":["title_t:(NOT Kings)"], "parsed_filter_queries":["-title_t:kings"],

Re: Unnecessary Components

2018-09-20 Thread Jan Høydahl
This is one of the reasons we should pursue a plugin-bundle based distribution. i.e. one main tarball and multiple smaller plugins, see SOLR-10665 This effort has a working POC, but it is too big for me to finalise alone, and I don't have a

Re: Solr 6.x and java 8

2018-09-20 Thread Shawn Heisey
On 9/20/2018 1:13 PM, tedsolr wrote: I realize that a java 8 runtime environment is required for Solr 6.x. Is it also necessary to compile to java 8 for any custom plugins running on the solr server? What about including SolrJ libraries in client code that is still compiling to 1.7? SolrJ

Solr 6.x and java 8

2018-09-20 Thread tedsolr
I realize that a java 8 runtime environment is required for Solr 6.x. Is it also necessary to compile to java 8 for any custom plugins running on the solr server? What about including SolrJ libraries in client code that is still compiling to 1.7? thanks, Ted -- Sent from:

Re: UI fields signification

2018-09-20 Thread Jean-Marc Spaggiari
Hi Alex, Hi All, So. I'm a bit at a lost here. For my given collection, I have both soft and hard commits. First every 15 seconds, 2nd every 60 seconds. My collection has 2 shards, each without any replica. So I don't think the index replication is involved, right? We pushed some data into this

Re: Non-Essential Components

2018-09-20 Thread Jason Gerlowski
Hi Seamus, Have you looked at the "contrib" module? The "contrib" module is a collection of commonly used packages that aren't strictly required for Solr's "core". What's more, "contrib" is pretty large: it takes up ~82mb of a ~185mb Solr distribution. If you don't plan on using any contrib

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Sure will do thank you On Thursday, September 20, 2018, Erick Erickson wrote: > Try "bin/solr zk rm -help" > On Thu, Sep 20, 2018 at 8:51 AM Schaum Mallik > wrote: > > > > Sure Shawn will do what you suggested in the previous emails. Thank you > so > > much > > > > On Thursday, September 20,

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Erick Erickson
Try "bin/solr zk rm -help" On Thu, Sep 20, 2018 at 8:51 AM Schaum Mallik wrote: > > Sure Shawn will do what you suggested in the previous emails. Thank you so > much > > On Thursday, September 20, 2018, Shawn Heisey wrote: > > > On 9/20/2018 9:32 AM, Schaum Mallik wrote: > > > >> ‘Then use

Re: Faceting with EnumFieldType in 7.1

2018-09-20 Thread Walter Underwood
Yes. Consider search for a bug database with severity levels in an enum field. A facet on severity would be a normal feature for that search. I would call this a bug. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Sep 20, 2018, at 8:41 AM, Peter

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Sure Shawn will do what you suggested in the previous emails. Thank you so much On Thursday, September 20, 2018, Shawn Heisey wrote: > On 9/20/2018 9:32 AM, Schaum Mallik wrote: > >> ‘Then use "bin/solr zk rm" to get rid of it from ZK.‘ <— can you give the >> full command for this one if you

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 9:32 AM, Schaum Mallik wrote: ‘Then use "bin/solr zk rm" to get rid of it from ZK.‘ <— can you give the full command for this one if you don’t mind Before doing this, try what I suggested.  I am not sure that you need to mess with what you have in ZK. If you have

RE: Faceting with EnumFieldType in 7.1

2018-09-20 Thread Peter Tyrrell
I have to assume this is a bug. (EnumFieldType does not return facet values.) I didn't want to create a ticket before floating the issue on this mailing list, but absent any further guidance or discussion... So one last shot. Should a field of EnumFieldType be useable as a facet field? Thanks,

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
‘Then use "bin/solr zk rm" to get rid of it from ZK.‘ <— can you give the full command for this one if you don’t mind Thank you On Thursday, September 20, 2018, Erick Erickson wrote: > bq. In response to this mistake that I did of keeping the core.properties > in > the configuration directory

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Thanks Shawn. Will follow your advice on this one. Thank you so much On Thursday, September 20, 2018, Shawn Heisey wrote: > On 9/20/2018 9:25 AM, Schaum Mallik wrote: > >> ok so that’s the problem. The core.properties in the replicas under >> /opt/solr/server/solr. So if I remove the file from

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 9:25 AM, Schaum Mallik wrote: ok so that’s the problem. The core.properties in the replicas under /opt/solr/server/solr. So if I remove the file from all the replica folders and also move the directories under /opt/solr/server/solr/configsets to some backup location and restart this

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
ok so that’s the problem. The core.properties in the replicas under /opt/solr/server/solr. So if I remove the file from all the replica folders and also move the directories under /opt/solr/server/solr/configsets to some backup location and restart this node then hopefully it should start working

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Erick Erickson
bq. In response to this mistake that I did of keeping the core.properties in the configuration directory when it was uploaded to zookeeper, how should I go about fixing it? Oh my. You're saying that core.properties is _in_ ZooKeeper? Never seen that before ;). OK, I think I see what's happening.

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 9:13 AM, Schaum Mallik wrote: In response to this mistake that I did of keeping the core.properties in the configuration directory when it was uploaded to zookeeper, how should I go about fixing it? A core.properties file in the config in ZK will not cause any problems.  It

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
In response to this mistake that I did of keeping the core.properties in the configuration directory when it was uploaded to zookeeper, how should I go about fixing it? Thank you On Thursday, September 20, 2018, Schaum Mallik wrote: > Hi Eric > > I created the collection the way you detailed

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 8:59 AM, Shawn Heisey wrote: I just completed a test where I did that exact sequence of converting a node from non-cloud with existing indexes to cloud, and ran into the exact same errors you're seeing.  I can relay exact details of the test if required. Here's what I did to

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Hi Eric I created the collection the way you detailed it in here. The configuration directory for the collections was copied over from the standalone solr 6. the core.properties existed in the conf directory and I didn’t realize it would cause this issue. Also all the nodes are solr 7.4. Thank

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Hi Shawn Sorry for being repetitive but want to make sure I understand you clearly. So my real collection data sits just outside the configsets folder. So if I move the location mentioned under instancedir to some backup location and then restart solr cloud you think this non working node will

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Erick Erickson
I agree with Shawn that having instanceDir=/opt/solr/server/solr/configsets/articles as where your core is located is strange, how are you starting Solr? In particular, do those nodes use a "-s' parameter to redefine SOLR_HOME? The "-d" option (assuming you created the collection with bin/solr)

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 8:44 AM, Schaum Mallik wrote: Thank you for your detailed responses. I am still kind of confused though. Just to give you some more insight. When I first created the cloud I created to collections and the ‘-d’ option pointed to the directory where the config for the collection was

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Thank you for your detailed responses. I am still kind of confused though. Just to give you some more insight. When I first created the cloud I created to collections and the ‘-d’ option pointed to the directory where the config for the collection was stored which was in

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 8:22 AM, Schaum Mallik wrote: Thanks for the response Shawn. My follow up question is how would the zookeeper ensemble know that the location of the indexes has changed? Also do I need to apply the same changes to the other 2 solr nodes which are working fine? This move is not to

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Thanks for the response Shawn. My follow up question is how would the zookeeper ensemble know that the location of the indexes has changed? Also do I need to apply the same changes to the other 2 solr nodes which are working fine? Thanks On Thursday, September 20, 2018, Shawn Heisey wrote: >

Re: Could not load collection from ZK:

2018-09-20 Thread Matteo Grolla
Hi everybody, I'm facing the same problem on solr 7.3. Probably requesting a longer session to zk (the default 10s seems too short) will solve the problem but I'm puzzled by the fact that this error is reported by solrj as a SolrException with status code 400 (BAD_REQUEST). in ZkStateReader

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/20/2018 6:02 AM, Schaum Mallik wrote: Yeah my indexes, read and write works fine on the other two solr nodes. Since I have this setup running in prod currently what are the steps you will advice I take to resolve this issue. Starting from scratch is really not an option since it will

Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Vincenzo D'Amore
Hi Yonik, Emir, thanks for your reply. I'm moving a collection from Solr 4.8.1 where there weren't configured docValues for thousands of fields (most of them used for sorting and faceting). In the Solr 4.8.1 I was used to see this fieldValueCache used. On the other hand, in the new version

Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Yonik Seeley
On Wed, Sep 19, 2018 at 9:44 AM Vincenzo D'Amore wrote: > Looking at Solr Admin Panel I've found the CACHE -> fieldValueCache tab > where all the values are 0. > > [...] > > what do you thing, is that normal? Yep, that's completely normal. That cache is only used by certain operations on

Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Emir Arnautović
Hi Vincenzo, Are you saying that you used to see some numbers other than 0 and now you see 0? If it is always zero, it means that you are not using features that require uninverted version of field (mainly faceting) or that you have doc values enabled on all fields that are used in such

Re: Unnecessary Components

2018-09-20 Thread Alexandre Rafalovitch
Well, if we are talking about the latest minimal configuration that still works and allows basic search: https://github.com/arafalov/presentation-apachecon2018-solr-speed-dating/tree/master/configsets/minimal Also, anything under examples can be removed, as well as dist/test-framework. Regards,

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Schaum Mallik
Yeah my indexes, read and write works fine on the other two solr nodes. Since I have this setup running in prod currently what are the steps you will advice I take to resolve this issue. Starting from scratch is really not an option since it will involve a huge cost. Is there some workaround that

Re: Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Hi Thank you for a very quick response and the link :) Damian -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Thank you for a very quick response, in that case, I will have to update the C# to build queries in the "proper" way. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Jetty Sqlserver config

2018-09-20 Thread Shawn Heisey
On 9/20/2018 4:10 AM, Srinivas Kashyap wrote: I'm having problem in setting up SQL server data import handler for Jetty container. Why not just define the datasource directly in the DIH config? One reason I can think of why you might not want that is that you don't want people to be able to

Re: user field(uf) not working with Post filter

2018-09-20 Thread shruti suri
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

Jetty Sqlserver config

2018-09-20 Thread Srinivas Kashyap
Hello, I'm having problem in setting up SQL server data import handler for Jetty container. in data config xml I have set up jndi as below: And I have jetty-env.xml inside WEB-INF as below: java:comp/env/jdbc/tssindex

Re: Solr admin timeout

2018-09-20 Thread Shawn Heisey
On 9/19/2018 1:05 PM, Webster Homer wrote: I have a fairly complex query which I'm trying to debug. The query works as long as I don't try to return the field: [explain style=nl] Of course this is the data I'm really interested in. When I run it, the console acts busy, but then the screen

Re: Solr 7.X negative filter not working

2018-09-20 Thread Shawn Heisey
On 9/20/2018 2:04 AM, damian.pawski wrote: On the Solr 5.4.x below query works fine: * "q": "*:*", "_": "1537429094299", "wt": "json", "fq": "JobTitle:(NOT programmer)" ... * I'm surprised this works on any version. See this page:

Re: SolrCoreInitializationException after restart of one solr node

2018-09-20 Thread Shawn Heisey
On 9/19/2018 9:20 PM, Schaum Mallik wrote: The data and index get stored under /opt/solr/server/solr/articles_shard1_replica_n1. The config directory when the collection was created, that time the path to the config was given as '/opt/solr/server/solr/configsets/articles'. I didn't use the

Re: Unnecessary Components

2018-09-20 Thread Charlie Hull
An interesting problem, perhaps we'll look at this at one of the Hackdays we're running soon! Previously we managed to cut down the Solr config files to fewer lines than the Apache license statement. Charlie On 19/09/2018 21:25, Shawn Heisey wrote: On 9/19/2018 1:48 PM, oddtyme wrote: I am

Re: Solr 7.X negative filter not working

2018-09-20 Thread Till Kinstler
Am 20.09.2018 um 10:04 schrieb damian.pawski: The problematic search "JobTitle:(NOT programmer)" is constructed via C# code, so I can ont easily update to "-JobTitle". JobTitle:(* NOT programmer) should also work, if that helps... I think, NOT without left side term was never officially

Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Hi On the Solr 5.4.x below query works fine: * "q": "*:*", "_": "1537429094299", "wt": "json", "fq": "JobTitle:(NOT programmer)" ... * , however the same query returns 0 results (I have checked and index contains correct data) in the Solr 7.4.1. I

Solr edismax multi-word match issue

2018-09-20 Thread Simon Bloch
Hi, I'm having issues getting an edismax query to match a certain document via a particular field ("name_c"). I believe this issue is related to whitespace removal and field/edismax configuration. *Search term:* "viet nam" *Document name:* "Vietnam" *Field Type: *

Question: Rule-based Replica Placement

2018-09-20 Thread Chuck Reynolds
I have a use case where I need to create a Solr 6.6 cluster in AWS. The collection will have a replication factor of 3 and needs to be in 3 different Availability Zones. I’ve read the documentation on Rule-based Replica Placement but it doesn’t seem to be very clear how I would tag servers so

Solr admin timeout

2018-09-20 Thread Webster Homer
I have a fairly complex query which I'm trying to debug. The query works as long as I don't try to return the field: [explain style=nl] Of course this is the data I'm really interested in. When I run it, the console acts busy, but then the screen clears displaying no data. I suspect a timeout

Non-Essential Components

2018-09-20 Thread Holland, Seamus Martin
Hello, I am helping implement solr for a "downloadable library" of sorts. The objective is that communities without internet access will be able to access a library's worth of information on a small, portable device. As such, I am working within strict space constraints. What are some