Re: Query optimization

2016-07-28 Thread Ahmet Arslan
Ups I forgot the link: http://yonik.com/solr/paging-and-deep-paging/ On Friday, July 29, 2016 9:51 AM, Ahmet Arslan wrote: Hi Midas, Please search 'deep paging' over the documentation, mailing list, etc. Solr Deep Paging and Sorting Ahmet On Friday, July 29, 2016 9:21 AM, Midas A wrote:

Re: Query optimization

2016-07-28 Thread Ahmet Arslan
Hi Midas, Please search 'deep paging' over the documentation, mailing list, etc. Solr Deep Paging and Sorting Ahmet On Friday, July 29, 2016 9:21 AM, Midas A wrote: please reply . On Fri, Jul 29, 2016 at 10:26 AM, Midas A wrote: > a) my index size is 10 gb for higher start is query res

Solr Stop with -K

2016-07-28 Thread Srinivasa Meenavali
Hi, Can somebody explain advantage of Stop solr with "-k" option ? -k Stop key used to protect from stopping Solr inadvertently; default is "solrrocks". bin/solr stop -k solrrocks Regards Srinivas Meenavalli This elec

Re: Solr 6 managed-schema & version control

2016-07-28 Thread John Bickerstaff
Gratzi! On Jul 28, 2016 9:14 PM, "Rachid Bouacheria" wrote: > Jonn, > I don't want to answer on Erick's behalf, but I am pretty sure there is no > UI built in solr 6 that allows you to update the schema and somehow check > it in VCS. I would guess that you could do this by exposing an MBean. > A

Re: Query optimization

2016-07-28 Thread Midas A
please reply . On Fri, Jul 29, 2016 at 10:26 AM, Midas A wrote: > a) my index size is 10 gb for higher start is query response got slow . > what should i do to optimize this query for higher start value in query >

Query optimization

2016-07-28 Thread Midas A
a) my index size is 10 gb for higher start is query response got slow . what should i do to optimize this query for higher start value in query

Re(2): Are there issues with the use of SolrCloud / embedded Zookeeperin non-HA deployments?

2016-07-28 Thread scott.chu
Hi Andre, I down a server that can specify 'zkServer start' and 'zkServer stop' script from here: https://issues.apache.org/jira/browse/ZOOKEEPER-1122 When you run 'zkServer start', it will record the pid of the started process(or task) that run Zookeeper in a file called 'zookeeper_server

Re: Solr 6 managed-schema & version control

2016-07-28 Thread Rachid Bouacheria
Jonn, I don't want to answer on Erick's behalf, but I am pretty sure there is no UI built in solr 6 that allows you to update the schema and somehow check it in VCS. I would guess that you could do this by exposing an MBean. Anyway that's how I interpreted Erick's reply. On Wed, Jul 27, 2016 at 6

RE: Solr Suddenly shut down

2016-07-28 Thread Kalpana
Thanks will do and get back! From: John Doe-2 [via Lucene] [mailto:ml-node+s472066n4289480...@n3.nabble.com] Sent: Thursday, July 28, 2016 6:31 PM To: Kalpana Sivanandan Subject: Re: Solr Suddenly shut down Hi, check OS logs, maybe it was OOM killer. Cheers On 7/29/2016 1:29 AM, Kalpana wrote

Re: Solr Suddenly shut down

2016-07-28 Thread John Doe
Hi, check OS logs, maybe it was OOM killer. Cheers On 7/29/2016 1:29 AM, Kalpana wrote: Hello Solr suddenly shut down and I had to manually start it. I am not seeing anything pointing to an error on the solr log files. I am not sure where else I can look or what to look for. Any help is grea

Solr Suddenly shut down

2016-07-28 Thread Kalpana
Hello Solr suddenly shut down and I had to manually start it. I am not seeing anything pointing to an error on the solr log files. I am not sure where else I can look or what to look for. Any help is greatly appreciated! Thanks Kalpana -- View this message in context: http://lucene.472066.n3

RE: Unable to create core

2016-07-28 Thread Alexandre Drouin
My deleted collection is not present in the Admin UI. I was able to fix my problem by deleting the core using the Core API and its unload command. Alexandre Drouin -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: July 28, 2016 10:17 AM To: solr-user S

Re: Is it possible to force a Shard Leader change?

2016-07-28 Thread Anshum Gupta
I understand there could be many reasons, but if it is at all possible, I'd suggest you upgrade to a more recent version of Solr. With that, you'd get a ton of bug fixes, and also a bunch of APIs that would help you with triggering a leader election. On Tue, Jul 26, 2016 at 9:27 PM, Tim Chen wro

Re: Schema Changes

2016-07-28 Thread Anshum Gupta
Hi Ethan, If the new fields are something that the old documents are also supposed to contain, you would need to reindex. e.g. in case you add a new copy field or a new field in general that your raw document contains, you would need to reindex. If the new field would only be something that exists

Schema Changes

2016-07-28 Thread Ethan
Hi, We change our schema to add new fields 3-4 times a year. Never modify existing fields. Some of my colleagues say it requires re-indexing. Does it? None of the existing field has changed. schema.xml is the only file that s modified. So what's the point in re-indexing? Appreciate any insigh

Installing Solr as a dependency

2016-07-28 Thread Demian Katz
Hello, I develop an open source project (https://github.com/vufind-org/vufind) that depends on Solr, and I'm trying to figure out if there is a better way to manage the Solr dependency. Presently, I simply bundle Solr with my software by committing the latest distribution to my Git repo. Over

Re: Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Shawn Heisey
On 7/28/2016 9:38 AM, Andy C wrote: > Would it make sense to use the embedded Zookeeper instance in this > situation? I have seen warning that the embedded Zookeeper should not > be used in production deployments, but the reason generally given is > that if Solr goes down Zookeeper will also go dow

RE: Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Andrew Chillrud
Thanks Markus, Scott, and Erick, I appreciate the input. Scott, I am not clear what you meant by " One reason is that zkServer.cmd tells the process that run Zookeeper by judging the DOS window title. However, according to what verison of Windows you use and how you start DOS window, it could b

Re: matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Erick Erickson
Matteo: I'd argue that the behavior is incorrect. Could you raise a JIRA? Erick On Thu, Jul 28, 2016 at 1:34 AM, Matteo Grolla wrote: > Hi Alessandro, > your shot in the dark was interesting, but the behaviour doesn't > depend on the field being mandatory, it works like this for every fiel

Re: Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Erick Erickson
I can certainly that external Zookeepers get _waaay_ more testing/use than embedded. While I don't know of any _specific_ issues, embedded is largely intended for ease of first use. I think my argument would be that in the case where you have a customer migrating from one node to many, if you _alr

Re(2): Are there issues with the use of SolrCloud / embedded Zookeeperin non-HA deployments?

2016-07-28 Thread Scott Chu
Indeed, embedded Zookeeper is not stable even when I use it in my development servers. In production environment, always use different servers for Zookeeper and SolrCloud. Also, avoid using Windows system as best as you can. One reason is that zkServer.cmd tells the process that run Zookeeper b

RE: Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Markus Jelsma
Hello - all our production environments as deployed as a cloud, even when just a single Solr instance is used. We did this for the purpose having a single method of deployment / provisioning and just because we have the option to add replica's with ease if we need to. We never use embedded Zook

Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Andy C
We have integrated Solr 5.3.1 into our product. During installation customers have the option of setting up a single Solr instance, or for high availability deployments, multiple Solr instances in a master/slave configuration. We are looking at migrating to SolrCloud for HA deployments, but are wo

Re: Unable to create core

2016-07-28 Thread Alexandre Rafalovitch
What do you see in the Admin UI? Is it there? Also, deleting the core - I believe - still leaves the underlying directory on the filesystem in place. So perhaps it is actually complaining about the leftover filesystem directory when you try to create a new core with the same name/location. Check th

RE: [Non-DoD Source] Re: config question (UNCLASSIFIED)

2016-07-28 Thread Musshorn, Kris T CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED Thank you for your reply Alexandre. Mycollection1 is a core I made when I set up solr. I did this because solr does not have any cores by itself and I thought that nutch would need a core to work. Was my assumption correct? \solr\server\solr\mycollection1\conf\manag

Unable to create core

2016-07-28 Thread Alexandre Drouin
Hi, While I was testing I deleted my collection (customer) using the collection API and this step succeeded, however if I try to create a new collection using the same name I get the following error: Core with name 'customer_shard1_replica1' already exists." I am using SolrCloud 6.0.1 and ZK 3.

Re: config question (UNCLASSIFIED)

2016-07-28 Thread Alexandre Rafalovitch
I haven't been through this tutorial before, but from a quick look I see two issues: 1) If you don't see schema.xml file in the directory, that means it uses dynamic schema instead (called managed-schema). Try copying your file and replacing managed-schema file. 2) It talks about "collection1". Tha

config question (UNCLASSIFIED)

2016-07-28 Thread Musshorn, Kris T CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED I am trying to integrate nutch 1.12 with solr 5.5.2. In the setup documents from here... https://wiki.apache.org/nutch/NutchTutorial it says to replace the schema.xml file in the core with the schema.xml from nutch. The install of solr does not have a schema.xml f

Re: AnalyticsQuery fails on a sharded collection

2016-07-28 Thread tedsolr
Thanks Joel! However I'm come to realize that upgrading to Solr 6 is not a near term reality due to the Java 8 requirement. I don't want anyone to waste their time debugging my code. At least not until I've made time to really work through it myself. I was just looking for a pointer on generalitie

Re: matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Matteo Grolla
Hi Alessandro, your shot in the dark was interesting, but the behaviour doesn't depend on the field being mandatory, it works like this for every field. So it seems just wrong df=field&q=* should be translated as field:* not as *:* 2016-07-28 10:32 GMT+02:00 Matteo Grolla : > It seems a

Re: matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Matteo Grolla
It seems a wanted behaviour (see code at the bottom), Still the behaviour seems wrong to me the field is not set explicity but in the df, so getExplicitField returns null // called from parser protected Query getWildcardQuery(String field, String termStr) throws SyntaxError { checkNullField(f

Re: matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Alessandro Benedetti
Shot in the dark , is your id your uniqueKey ? In the case, it is legit to parse the special matchAllDocsQuery as that field is mandatory and unique. So your high-level query is actually asking for all the documents in the index. I haven't checked in the code but if I remember well, that is a spec

Re: matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Matteo Grolla
I noticed the behaviour in solr 4.10 and 5.4.1 2016-07-28 9:36 GMT+02:00 Matteo Grolla : > Hi, > I'm surprised by lucene query parser translating this query > > http://localhost:8983/solr/collection1/select?df=id&q=* > > in > > MatchAllDocsQuery(*:*) > > I was expecting it to execute: "id:*"

RE: Is it possible to force a Shard Leader change?

2016-07-28 Thread Tim Chen
Thanks Erick. You made the point, the CPU usage is not high on my Leader server, so I guess I will leave it. And if I want to, as you suggested, I guess I could remove some replica from certain collections and add them back in to break the election order, then take JVM down to force an election

matchAllDocsQuery instead of WildCardQuery from lucene qp with df and *

2016-07-28 Thread Matteo Grolla
Hi, I'm surprised by lucene query parser translating this query http://localhost:8983/solr/collection1/select?df=id&q=* in MatchAllDocsQuery(*:*) I was expecting it to execute: "id:*" is it a bug or a desired behaviour? If desired can you explain why?

Re: How to configure solr while having Apostrophes in fields

2016-07-28 Thread nitin.garg88
Thanks Eric , I have put analyser screen shot ,and i am not sure what is the problem in WCF. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-configure-solr-while-having-Apostrophes-in-fields-tp428