Re: /select results different between 5.4 and 6.1

2016-08-19 Thread John Bickerstaff
Many thanks. On Fri, Aug 19, 2016 at 4:22 PM, Anshum Gupta wrote: > The default similarity changed from TF-IDF to BM25 in 6.0. > > On Fri, Aug 19, 2016 at 3:00 PM John Bickerstaff > > wrote: > > > Bump! > > > > TL;DR Question: Are scores (and debug output) *expected* to be different > > between

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

2016-08-19 Thread Alexandre Rafalovitch
Can you give an example of what SQL column name and what Solr field name you want correspondingly. Because 'name_*' is not a valid field name. Also, why specifically you are doing this. Regards, Alex On 20 Aug 2016 6:04 AM, "Wendy" wrote: Hi,How can I append a suffix _* to all column nam

Re: /select results different between 5.4 and 6.1

2016-08-19 Thread Anshum Gupta
The default similarity changed from TF-IDF to BM25 in 6.0. On Fri, Aug 19, 2016 at 3:00 PM John Bickerstaff wrote: > Bump! > > TL;DR Question: Are scores (and debug output) *expected* to be different > between 5.4 and 6.1? > > On Thu, Aug 18, 2016 at 2:44 PM, John Bickerstaff < > j...@johnbicker

Re: /select results different between 5.4 and 6.1

2016-08-19 Thread John Bickerstaff
Bump! TL;DR Question: Are scores (and debug output) *expected* to be different between 5.4 and 6.1? On Thu, Aug 18, 2016 at 2:44 PM, John Bickerstaff wrote: > Hi all, > > TL:DR - > Is it expected that the /select endpoint would produce different > scores/result order between versions 5.4 and 6.

Re: Need to understand solr merging and commit relationship

2016-08-19 Thread Shawn Heisey
On 8/16/2016 11:47 AM, kshitij tyagi wrote: > I need to understand clearly that is there any relationship between solr > merging and solr commit? > > If there is then what is it? > > Also i need to understand how both of these affect indexing speed on the > core? Whenever a new segment is written,

help with DIH transformer to add a suffix to column names

2016-08-19 Thread Wendy
Hi,How can I append a suffix _* to all column names from a mysql database.I am working on a project index data from mysql . I would like to use dynamic field to dynamically index fields without specifying each field/column names. I have been tried DIH customer transformer to append a suffix to col

Re: How to recovery node

2016-08-19 Thread Erick Erickson
You removed the node by deleting directories. Therefore Zookeeper still has a record for shard2_replica2 and shard1_replica2. When you added a new replica, it had to choose a new name and those were already taken, thus the "replica3" parts. And that's the same explanation for why you have two "dow

Gradle Plugin

2016-08-19 Thread Gus Heck
The other day, I finally got around to automating solr config deployment with gradle, so now I can have this workflow: - Run a gradle task to get the current config from zookeeper, - See any changes not checked in (my ide happily lights these up if I had the files under source control)

Re: How to recovery node

2016-08-19 Thread Jason
Hi, Erick I just know that ADDREPLICA command is for it. At that time writting my question, I just tried command http://localhost:8984/solr/admin/collections?action=ADDREPLICA&collection=cloudexample&shard=shard1&node=localhost:8984_solr. But it returned an error. Now I know what the problem is. No

Re: How to recovery node

2016-08-19 Thread Erick Erickson
Let Solr do it for you. In this case use the collections API ADDREPLICA command. You tell it what collection and shard you want replicated, it'll create the right structure in the right place and synch the index. See: https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI

Re: posting to Solr 6.0.0

2016-08-19 Thread matt corkum
I managed to solve this with the following approach. create core ~/Downloads/solr-6.0.0/bin/solr create -c poc5 use the schema API of Solr 6.0.0 & push the schema style for each field (I have a few fields) Here is one example of changing the “all" field curl -X POST -H 'Content-type:application/j

Re: DataImport-Solr6: Nested Entities

2016-08-19 Thread Shawn Heisey
On 8/18/2016 5:10 PM, Peri Subrahmanya wrote: > Hi, > > I have a simple one-to-many relationship setup in the data-import.xml and > when I try to index it using the dataImportHandler, Solr complains of “no > unique id found”. > > managed-schema.xml > id > solrconfig,xml: > > > id > >

posting to Solr 6.0.0

2016-08-19 Thread matt corkum
Hi — I looking for a way to send many JSON files to a Classic Index Schema (not managed) using something. I created a schema.xml and a solrconfig.xml that allows me to post JSON using the Solr Admin document Using in solrconfig.xml, so it’s not managed schema. Post my JSON (below) to the S

Re: Append to new solr.log file daily

2016-08-19 Thread Alexandre Rafalovitch
This _should_ be controlled by the resources/log4j.properties file. Which I thought was configured to have a rolling append. What does yours have? Regards, Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 19 August 2016 at 17:47, Zheng L

How to recovery node

2016-08-19 Thread Jason
I'm new to solrcloud (ver.6.1). So, I'm in tutorial. I tried to force removing specific node because I was wondering how to recover a node. But I can't solve the problem. Below is my scenario. > bin/solr -e cloud # make 2 nodes with 8983, 8984 port # collection structure is below # example/cloud

Append to new solr.log file daily

2016-08-19 Thread Zheng Lin Edwin Yeo
Hi, I found that all the logs in Solr are appended in the same solr.log file until Solr is restarted. If I keep Solr running for several weeks without restarting (which should be the case in production environment), the size of the solr.log can be very large (more than several GB in some cases).

Auto-deletion of Solr logs

2016-08-19 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, is there any setting in Solr which we can set to auto-delete the old Solr logs (Eg: those older than one month), or do we have to write a separate script in order to achieve that? Those are the logs that are stored in \server\logs. I'm using Solr 6.1.0. Regards, Edwin