Altering the query if query contains all stopwods

2018-03-08 Thread Ryan Yacyshyn
Hi all, I'm wondering if its possible to change/alter the query after it has been analyzed by the stopword filter? For example, if my query contains all stopwords then I'll get zero results because the query is empty. I'd like to have a condition to change the query so that if the query happens

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Shawn Heisey
On 3/8/2018 1:26 PM, Abhi Basu wrote: > I'm in a bind. Added Solr 4.9.0 to HDInsight cluster and find no Solrctl > commands installed. So, I am doing the following to create a collection. This 'solrctl' command is NOT part of Solr.  Google tells me it's part of software from Cloudera. You need

Re: What are descent disk I/O for Solr and Zookeeper ?

2018-03-08 Thread Shawn Heisey
On 3/8/2018 2:55 PM, Dominique Bejean wrote: > Disk I/O are critical for high performance Solrcloud. This statement has truth to it, but if your system is correctly sized, disk performance will not have much of an impact on Solr performance.  If upgrading to faster disks does improves long-term

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Erick Erickson
First I have no idea what HDInsight is about, and CDH is a Cloudera product so anything related to that specifically would best be asked on the Cloudera lists. Solrctl is also a Cloudera-provided script IIUC. ButI can say that the command you showed is...odd. If you're saying _you_ entered it

Re: Indexing nested json

2018-03-08 Thread Rick Leir
Hi James Yonick has a great blog explaining that, but I am on the bus so I do not have a link for you. Yes, you can use nesting, and there are good reasons for doing so, but you will find it much easier to use flat fields. YMMV Cheers -- Rick On March 8, 2018 5:22:13 PM EST, "kasinger, james"

RE: Highlighter throwing InvalidTokenOffsetsException for field with large number of synonyms

2018-03-08 Thread Rick Leir
David Yes, highlighting is tricky, especially with synonyms. Sorry, I would need to see a bit more of your config before saying more about it. Thanks -- Rick -- Sorry for being brief. Alternate email is rickleir at yahoo dot com

Re: Indexing nested json

2018-03-08 Thread kasinger, james
Not quite. This will index the nested json into a flattened representation of the data, in multiple documents. We expect the resulting document to contain all the same nested fields as the json had. It should be identical. Thanks for your response, Jams On 3/8/18, 1:26 PM, "Mikhail Khludnev"

What are descent disk I/O for Solr and Zookeeper ?

2018-03-08 Thread Dominique Bejean
Hi, Disk I/O are critical for high performance Solrcloud. I am looking for relevante disk I/O tests for both Solr node or Zookeeper element and with these tests what are bad, correct or good results. For instance how to know if these results with basic dd utility reports correct disk

RE: Highlighter throwing InvalidTokenOffsetsException for field with large number of synonyms

2018-03-08 Thread Howe, David
Hi Rick, Thanks for your response. The reason that we do it like this is that the localities are also part of another indexed field that contains the entire address. We actually do the search over that field, and we are only using the highlighting on the problematic field so that we can

Re: Indexing nested json

2018-03-08 Thread Mikhail Khludnev
Will https://lucene.apache.org/solr/guide/7_1/transforming-and-indexing-custom-json.html work for you? On Thu, Mar 8, 2018 at 8:17 PM, kasinger, james < james.kasin...@nordstrom.com> wrote: > Hi folks, > Has anyone had success indexing nested json into solr? I know that solr > prefers a

HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Abhi Basu
Folks: I'm in a bind. Added Solr 4.9.0 to HDInsight cluster and find no Solrctl commands installed. So, I am doing the following to create a collection. I have my collection schema in a location: /home/sshuser/abhi/ems-collection/conf Using this command to create a collection:

Large number of HTTP requests to Solr-5.2.1 throwing errors

2018-03-08 Thread Deeksha Sharma
Hi, Version of Solr : Solr-5.2.1 I am sending large number of HTTP GET requests to Solr server for querying indexes. These requests to Solr are generated via a Node.js service. When the number of requests to Solr are ~250, I am intermittently facing these kinds of issues: * Some times

Re: CDCR performance issues

2018-03-08 Thread Tom Peters
So I'm continuing to look into this and not making much headway, but I have additional questions now as well. I restarted the nodes in the source data center to see if it would have any impact. It appeared to initiate another bootstrap with the target. The lag and queueSize were brought back

Re: Indexing nested json

2018-03-08 Thread Shawn Heisey
On 3/8/2018 10:17 AM, kasinger, james wrote: > Has anyone had success indexing nested json into solr? I know that solr > prefers a flattened representation of the data, but I’m exploring potential > solutions or workarounds for achieving this. Thanks in advance. > > For instance I’m indexing

Indexing nested json

2018-03-08 Thread kasinger, james
Hi folks, Has anyone had success indexing nested json into solr? I know that solr prefers a flattened representation of the data, but I’m exploring potential solutions or workarounds for achieving this. Thanks in advance. For instance I’m indexing this “document” and expect it to be presented

Re: Replicate configoverlay.json

2018-03-08 Thread Shawn Heisey
On 3/8/2018 9:25 AM, Sundaram, Dinesh wrote: Well. I have mixed cloud and master/slave concepts since solr is supporting. Is there nay way to replicate dynamic confugurations to slave without zookeeper? If the configoverlay.json file is in the same zookeeper path as solrconfig.xml, then you

RE: Replicate configoverlay.json

2018-03-08 Thread Sundaram, Dinesh
Well. I have mixed cloud and master/slave concepts since solr is supporting. Is there nay way to replicate dynamic confugurations to slave without zookeeper? --Dinesh Sundaram -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Thursday, March 8, 2018 10:23 AM To:

Re: Replicate configoverlay.json

2018-03-08 Thread Shawn Heisey
On 3/8/2018 8:48 AM, Sundaram, Dinesh wrote: > Thanks Shawn for checking this. configverlay.json is not available under > /conf. Actually it is dynamic file which is available in zookeeper log.1 > binary file. So whenever we do the config update via API it will get saved > directly in the

RE: Replicate configoverlay.json

2018-03-08 Thread Sundaram, Dinesh
Thanks Shawn for checking this. configverlay.json is not available under /conf. Actually it is dynamic file which is available in zookeeper log.1 binary file. So whenever we do the config update via API it will get saved directly in the zookeeper log.1 binary file. Is there any way to replicate

Re: what`s the pink segment on solr UI meaning?

2018-03-08 Thread Shawn Heisey
On 3/8/2018 3:48 AM, 胡一博 wrote: I run solr 5.5.1. I was found some pink segments on the "Segment Info" tag of solr UI. What`s that meaning ? Is my cluster not healthy? I found the pink color (#FFC9F9) in a css file: server\solr-webapp\webapp\css\angular\segments.css It was in a definition

Re: Highlighter throwing InvalidTokenOffsetsException for field with large number of synonyms

2018-03-08 Thread Rick Leir
David When you have "lcx__balmoral__cannum__clear_lake__lower_norton" in a field, would you search for *cannum* ? That might not perform well. Why not have a multivalue field for this information? It could be that you have a good reason for this, and I just do not understand. Cheers -- Rick --

what`s the pink segment on solr UI meaning?

2018-03-08 Thread 胡一博
hello, I run solr 5.5.1. I was found some pink segments on the "Segment Info" tag of solr UI. What`s that meaning ? Is my cluster not healthy?

Re: Collections API command BACKUP fails with java.nio.file.NoSuchFileException

2018-03-08 Thread Ronja Koistinen
On 08.03.2018 11:51, Ronja Koistinen wrote: > > $ curl > 'http://localhost:8983/solr/admin/collections?action=BACKUP=json=testi=flamma_2018-03-07T115247Z=/opt/solr-backup/' > Replying to myself: in the gist I changed the "flamma" string to "intranet" but apparently I forgot to do the same in my

Collections API command BACKUP fails with java.nio.file.NoSuchFileException

2018-03-08 Thread Ronja Koistinen
Hello, I tried to create a backup of my Solr Cloud collection with the following command: $ curl 'http://localhost:8983/solr/admin/collections?action=BACKUP=json=testi=flamma_2018-03-07T115247Z=/opt/solr-backup/' This is the result: