Re: Cannot talk to ZooKeeper - Updates are disabled (Solr 6.3.0)

2016-12-30 Thread Greg Harris
You can lose access to zk from either the solr side or the zk side. You need to determine which is which. No hard and fast rules. If you're restarting solr and everything comes back online, my bet is zk is fine, which in the grand scheme of things is usually but not always the case On Dec 29,

Re: Facet Null Pointer Exception with upgraded indexes

2016-12-30 Thread Mikhail Khludnev
Hi Andreu, I think it can't facet text field anymore per se https://issues.apache.org/jira/browse/SOLR-8362. On Fri, Dec 30, 2016 at 5:07 PM, Andreu Marimon wrote: > Hi, > > I'm trying to update from solr 4.3 to 6.3. We are doing a two step > migration and, during the first step, we upgraded th

Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Mikhail Khludnev
Here is a trick fl=field(color). It either hit docvalues, or swallow plenty of heap for field cache uninvertion. On Fri, Dec 30, 2016 at 11:01 PM, Jichi Guo wrote: > Hi everyone, > > > > I found it convenient to debug Solr search results if I mark all fields to > be > "stored=true" in schema. >

Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Erick Erickson
For this specific case, you can use explainOther=id: That will return the debug data for whatever ID you specify even if it is not a hit. This is most useful when the reason is that the doc didn't score high enough. It can be somewhat unhelpful if you don't have terms that match since it returns

Re: Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Alexandre Rafalovitch
Are you trying to examine an individual document or some sort of bulk? I sometimes facet on a field because that gives me the indexed representation of it. There is also Luke to look at the raw index if you want to really dig in. Regards, Alex. http://www.solr-start.com/ - Resources for S

Best practices to debug Solr search in production without all fields stored

2016-12-30 Thread Jichi Guo
Hi everyone, I found it convenient to debug Solr search results if I mark all fields to be "stored=true" in schema. For example, given a document, I could check why it is not returned in a query with debug=true. But in production, most of the fields have "stored=false" for performance re

ordering results by the min and max difference / converting mysql into solr query

2016-12-30 Thread John Blythe
hi everyone. hope you all had a great christmas! i'm having trouble converting an example mysql script into a solr query. here's my preliminary query: select vendorItem, min(unitPrice), max(unitPrice), -(min(unitPrice) - > max(unitPrice)) as `diff` > from transactions > where orgId IN (x,y,z) > a

Re: Error CREATEing SolrCore, QueryElevationComponent missing config file

2016-12-30 Thread Leon STRINGER
Hi Erick, Thanks for your reply. My assumption was based on my steps apparently working with 6.1.0, i.e. I could just add a core via the web UI without any other steps being required and everything appeared to work. That process, which I accept was probably not correct in the first place, no lon

Facet Null Pointer Exception with upgraded indexes

2016-12-30 Thread Andreu Marimon
Hi, I'm trying to update from solr 4.3 to 6.3. We are doing a two step migration and, during the first step, we upgraded the indexes from 4.3 to 5.5, which is the newest version we can get without errors using the Lucene IndexUpgrader tool. As far as I know, 6.30 should be able to read indexes gen

does SOLR support custom request parser

2016-12-30 Thread Vinay B,
In my quest to support indexing from files located in azure storage (as opposed to standard disk based files), .. I have the following question The SOLR request parser (request is configured for remote load but CommonParams.STREAM_FILE is still required as it references the relative azure path) al

Re: including dependency jars for SOLR plugins

2016-12-30 Thread Vinay B,
Will look into it and post back. Thanks On Thu, Dec 29, 2016 at 3:13 PM, Erick Erickson wrote: > You shouldn't have to package everything up. > > You say you've tried putting the jars in several different places. Do > you have multiple jars for azure still lying around? I wonder if you > might b

Solr 6.x : howto create a core in (embedded) CoreConatiner

2016-12-30 Thread Clemens Wyss DEV
I am still using 5.4.1 and have the following code to create a new core: ... Properties coreProperties = new Properties(); coreProperties.setProperty( CoreDescriptor.CORE_CONFIGSET, configsetToUse ); CoreDescriptor coreDescriptor = new CoreDescriptor( container, coreName, coreFolder, corePropertie