Re: help with DIH transformer to add a suffix to column names

2016-08-22 Thread Emir Arnautovic
Hi Wendy, It seems to me that you misunderstood concept of dynamic fields. It is something that is defined in Solr schema, e.g. *_text, and then in your DIH config you define fields that match that pattern, e.g. name_text, desc_text etc. HTH, Emir On 20.08.2016 00:58, Alexandre Rafalovitch

Question about highlighting html-tags

2016-08-22 Thread Jannicke Husby
Hi, I have a question about searchterms and highlighting, hope you can help me. The problem is that the HTML-tags get highlighted as well. Example: I search for "google". It hits the text "google" and that is a hyperlink like this https://www.google.com";>google. I only want the text betwee

SolrCloud: Collection creation failed due to timeout

2016-08-22 Thread Chris Rogers
Hi there, I'm struggling with setting up a test implementation of SolrCloud using Vagrant. I've got two vagrant boxes on a private network: * One Ubuntu machine running Zookeeper * One Ubuntu machine running Solr My zookeeper config is as follows: tickTime=4000 dataDir=/home/vagrant/zookeepe

Re: SolrCloud: Collection creation failed due to timeout

2016-08-22 Thread Shawn Heisey
On 8/22/2016 6:20 AM, Chris Rogers wrote: > It’s then that I start seeing lots of errors in the Solr logs, and lots of > repetitive messages appearing in Zookeeper: > > These two Solr errors over and over: > > java.io.IOException: Xid out of order. Got Xid 1299 with err 0 expected Xid > 1298 for

Re: Document removed from index after Delta import

2016-08-22 Thread Or Gerson
i would have understood if the index stayed the same, but the document is removed entirely. On Mon, Aug 22, 2016 at 5:48 AM, Erick Erickson wrote: > You can't rely on any searches with that autocommit configuration. > > openSearcher is set to false. Therefore you will not see any changes to >

Re: SolrCloud: Collection creation failed due to timeout

2016-08-22 Thread Chris Rogers
Hi Shawn, Thanks for replying. Solr version: 6.1.0 Zookeeper: 3.3.6 Solr log errors below are from around the 21:33:39 timestamp: 2016-08-21 21:33:37.135 WARN (main-SendThread(172.28.128.3:2181)) [ ] o.a.z.ClientCnxn Session 0x156aefeba2d0004 for server 172.28.128.3/172.28.128.3:2181, une

Re: SolrCloud: Collection creation failed due to timeout

2016-08-22 Thread Shawn Heisey
On 8/22/2016 7:27 AM, Chris Rogers wrote: > Solr version: 6.1.0 Zookeeper: 3.3.6 This is probably the root of the issue. Solr includes Zookeeper 3.4.6, for the client. The server you're running is significantly older than the client version. The WARN messages I quoted previously indicates that

Re: SolrCloud: Collection creation failed due to timeout

2016-08-22 Thread Chris Rogers
Thanks Shawn, that was indeed the issue. Upgraded and everything is working as expected. Much appreciated. Chris On 22/08/2016, 14:50, "Shawn Heisey" wrote: On 8/22/2016 7:27 AM, Chris Rogers wrote: > Solr version: 6.1.0 Zookeeper: 3.3.6 This is probably the root of the issue

Re: commit it taking 1300 ms

2016-08-22 Thread Alessandro Benedetti
I agree with the suggestions so far. The cache auto-warming doesn't seem the problem as the index is not massive and the auto-warm is for only 10 docs. Are you using any warming query for the new searcher ? Are you using soft or hard commit ? This can make the difference ( soft are much cheaper, n

Re: Solr - search score and tf-idf vector from individual fields

2016-08-22 Thread Alessandro Benedetti
Hi govind, let's analyse your request step by step : On Tue, Aug 16, 2016 at 7:54 AM, govind nitk wrote: > Hi Developers, > > > down votefavorite > vector-from-individual-fields#> > > This is a fundamental question whic

Re: help with DIH transformer to add a suffix to column names

2016-08-22 Thread Wendy
Hi Alex,Thank you for your response. I include the details below. Hope it makes more clear. I wanted to append _stem to each column name, so I can specify fields dynamically with *_stem w/o specifying each field names.Thanks!I use solr 6.1.0 to index data from mysql database.I wrote a java class o

Re: help with DIH transformer to add a suffix to column names

2016-08-22 Thread Wendy
Hi Emlr, I use the example of "A General TrimTransformer" in the following link: https://wiki.apache.org/solr/DIHCustomTransformer#transformer But instead of trim the field value, I wanted to change the table column name to columnName_stem. So I can use *_stem to copy all fields. Here is my c

Error upgrading from 6.0 to 6.1

2016-08-22 Thread Stephen Lewis
Hello, I have a question about updating a solr cloud cluster servers in place. I have a scripted method for updating a solr cloud in place, which works consistently to up/down grade between 6.0.0 and 6.0.1 (in our test environment), but hits an error consistently when going from either to solr 6.1

Re: Error upgrading from 6.0 to 6.1

2016-08-22 Thread Stephen Lewis
In particular, I see this line. Was there perhaps a deprecation of a method or something changed about cluster properties? Error 500 {msg=org.apache.solr.common.cloud.ZkStateReader.getClusterProps()Ljava/util/Map;,trace=java.lang.NoSuchMethodError: org.apache.solr.common.cloud.ZkStateReader.getC

Re: Error upgrading from 6.0 to 6.1

2016-08-22 Thread Stephen Lewis
Oops, apologies for my confusing grammar and for missing the attachment. The intro sentence should have read "I have a question about upgrading a solr cloud cluster in place." I've actually attached the log below this time. Thanks again, Stephen On Mon, Aug 22, 2016 at 7:41 PM, Stephen Lewis wro

Re: Error upgrading from 6.0 to 6.1

2016-08-22 Thread Erick Erickson
That's usually an indication that your classpath has old and new jars in it. When you start Solr, the directories from which all the jars are listed in the log file. My guess is that if you examine them you'll see jar files loaded from both 6.0 and some from 6.1 and you need to figure out how that