Re: Search returning unexpected matches at the top

2019-12-09 Thread rhys J
On Mon, Dec 9, 2019 at 12:06 AM Paras Lehana wrote: > Hi Rhys, > > Use Solr Query Debugger > < > https://chrome.google.com/webstore/detail/solr-query-debugger/gmpkeiamnmccifccnbfljffkcnacmmdl?hl=en > > > Chrome > Extension to see what's making up the score for both of them. I guess > fieldNorm sh

Re: Search returning unexpected matches at the top

2019-12-10 Thread rhys J
On Tue, Dec 10, 2019 at 12:35 AM Paras Lehana wrote: > That's great. > > But I also wanted to know why the concerned document was scored lower in > the original query. Anyways, glad that the issue is resolved. :) > > That I need to look into. If I find an answer, I will let you know. Thanks, Rh

Re: Search returning unexpected matches at the top

2019-12-10 Thread rhys J
/ (n + 0.5)) from:\n28 = n, number of documents containing term\n2894478 = N, total number of documents with field\n 0.4322195 = tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:\n1.0 = freq, occurrences of term within document\n1.2 = k1, term satur

user solr created by install not working with default password

2019-12-11 Thread rhys J
I installed Solr following the directions on this site: https://lucene.apache.org/solr/guide/6_6/installing-solr.html I am running standalone Solr with no authentication added because it is all in-house with no access to outside requests. When I try to su solr, using the password mentioned here:

backing up and restoring

2019-12-11 Thread rhys J
I made backups with the following command: sudo -u solr curl ' http://localhost:8983/solr/debt/replication?command=backup&location=/tmp/solr backups/debt/' I double checked that I had made the backup, and I

Re: user solr created by install not working with default password

2019-12-11 Thread rhys J
> That page talks about setting up authentication for HTTP access to the > Solr API. It has nothing at all to do with the OS user created by the > service install script. > > When the service install creates the OS user for the service, it is > created in such a way that its password is disabled.

Re: backing up and restoring

2019-12-12 Thread rhys J
On Thu, Dec 12, 2019 at 3:49 AM sudhir kumar wrote: > once you backup index with some location, you have to specify the same > location to restore. > > ie in your case /tmp/solr is the location indexed was backed up , use same > location for restore. > > you did not provide name so latest snapsh

Re: backing up and restoring

2019-12-12 Thread rhys J
This page seems to indicate that I should copy the files from the backup directory back into the index? Is this accurate? https://codice.atlassian.net/wiki/spaces/DDF22/pages/2785407/Solr+Standalone+Server+Backup Thanks, Rhys

Re: backing up and restoring

2019-12-12 Thread rhys J
I was able to successfully restore a backup by specifying name and location in the restore command. But now when i try to run: sudo -u solr curl http://localhost:8983/solr/debt/update -H "Content-type: text/xml" --data-binary '*:*' I get the following error: no segments* file found in LockVali

Updates via curl and json not showing in api

2019-12-13 Thread rhys J
When I do the following update: curl http://localhost:8983/solr/debt/update -d '[ {"id": "393291-18625", "orig_int_amt":{ "set" : "2.5"}, }]' and then: curl http://localhost:8983/solr/debt/get?id=393291-18625 I see the document is updated via the command line. It shows the following: { "doc

Re: Updates via curl and json not showing in api

2019-12-13 Thread rhys J
On Fri, Dec 13, 2019 at 11:51 AM Shawn Heisey wrote: > > Is there a step I'm missing? > > It appears that you have not executed a commit that opens a new searcher. > > Thanks for explaining this. I turned on commit=true, and everything works as expected. Thanks again, Rhys

unable to update using empty strings or 'null' in value

2019-12-13 Thread rhys J
When I do the following update: curl http://localhost:8983/solr/dbtr/update?commit=true -d '[{ "id": "601000", "agen t": {"set": "null"},"assign_id": {"set": "320"},"client_group": {"set": "null"},"credit_class": {"se t": "null"},"credit_hold": {"set": "null"},"credit_hold_date": {"set": "null"},"

Re: unable to update using empty strings or 'null' in value

2019-12-16 Thread rhys J
On Mon, Dec 16, 2019 at 2:51 AM Paras Lehana wrote: > Hey Rhys, > > > Short Answer: Try using "set": null and not "set": "null". > > Thank you, this worked! Rhys

Re: backing up and restoring

2019-12-16 Thread rhys J
On Mon, Dec 16, 2019 at 1:42 AM Paras Lehana wrote: > Looks like a write lock. Did reloading the core fix that? I guess it would > have been fixed by now. I guess you had run the delete query few moments > after restoring, no? > > Restoring setting the name parameter only worked the once. This i

updating documents via csv

2019-12-16 Thread rhys J
Is there a way to update documents already stored in the solr cores via csv? The reason I am asking is because I am running into a problem with updating via script with single quotes embedded into the field itself. Example: curl http://localhost:8983/solr/dbtr/update?commit=true -d '[{ "id": "35

Re: updating documents via csv

2019-12-17 Thread rhys J
On Mon, Dec 16, 2019 at 11:58 PM Paras Lehana wrote: > Hi Rhys, > > I use CDATA for XMLs: > > > > > There should be a similar solution for JSON though I couldn't find the > specific one on the internet. If you are okay to use XMLs for indexing, you > can use this. > > We are set on using js

Increase Physical Memory in Solr

2020-01-13 Thread rhys J
I am trying to figure out how to increase the physical memory in Solr. I see how to increase the JVM size, and I've done that. But my physical memory is 97% out of 7.79G of physical memory, and I'm trying to index a lot more documents as I move this live. Is there any documentation that I've miss

Re: Increase Physical Memory in Solr

2020-01-13 Thread rhys J
On Mon, Jan 13, 2020 at 3:11 PM Gael Jourdan-Weil < gael.jourdan-w...@kelkoogroup.com> wrote: > Hello, > > If you are talking about "physical memory" as the bar displayed in Solr > UI, that is the actual RAM your host have. > If you need more, you need more RAM, it's not related to Solr. > > Thank

Trouble adding a csv file - invalid date string error

2020-01-14 Thread rhys J
I am trying to add a csv file while indexing a core. curl command: sudo -u solr curl ' http://localhost:8983/solr/dbtraddr/update/csv?commit=true&escape=\&encapsulator=%7C&stream.file=/tmp/csv/dbtrphon_0.csv ' The header of the csv file: |id|,|archive|,|contact_type|,|debtor_id|,|descr|,|group

Re: Increase Physical Memory in Solr

2020-01-14 Thread rhys J
On Mon, Jan 13, 2020 at 3:42 PM Terry Steichen wrote: > Maybe solr isn't using enough of your available memory (a rough check is > produced by 'solr status'). Do you realize you can start solr with a > '-m xx' parameter? (for me, xx = 1g) > > Terry > > I changed the java_mem field in solr.in.sh,

Re: Trouble adding a csv file - invalid date string error

2020-01-14 Thread rhys J
I went ahead and adjusted the time_stamp field to be UTC, and that took care of the problem. On Tue, Jan 14, 2020 at 10:24 AM rhys J wrote: > I am trying to add a csv file while indexing a core. > > curl command: > > sudo -u solr curl ' > http://localhost:8983/solr/dbt

Failed to connect to server

2020-01-16 Thread rhys J
I have noticed that if I am using curl to index a csv file *and* using curl thru a script to update the Solr cores, that I get the following error: curl: (7) Failed to connect to 10.40.10.14 port 8983: Connection refused Can I only index *or* update, but not do both? I am not running shards or c

Error while updating: java.lang.NumberFormatException: empty String

2020-01-16 Thread rhys J
While updating my Solr core, I ran into a problem with this curl statement. When I looked up the error, the only reference I could find was that maybe a float was being added as null. So I changed all the float fields from 'null' to '0.00'. But I still get the error. Float fields as per the schem

Re: Failed to connect to server

2020-01-16 Thread rhys J
On Thu, Jan 16, 2020 at 3:27 PM Edward Ribeiro wrote: > A regular update is a delete followed by an indexing of the document. So > technically both are indexes. :) If there's an atomic update ( > https://lucene.apache.org/solr/guide/8_4/updating-parts-of-documents.html > ), Solr would throw some

Re: Error while updating: java.lang.NumberFormatException: empty String

2020-01-16 Thread rhys J
On Thu, Jan 16, 2020 at 3:10 PM Edward Ribeiro wrote: > Hi, > > There is a status_code in the JSON snippet and it is going as a string with > single space. Maybe it is an integer? > > Best, > Edward > > Oh wow, yes you are right. When I adjusted the status_code to not be a space, it fixed everyth

Re: Failed to connect to server

2020-01-17 Thread rhys J
On Thu, Jan 16, 2020 at 3:48 PM David Hastings wrote: > > 'Error: Solr core is loading' > > do you have any suggesters or anything configured that would get rebuilt? > > > I don't think so? But I'm not quite sure what you are asking? > Rhys

Re: Failed to connect to server

2020-01-17 Thread rhys J
On Fri, Jan 17, 2020 at 12:10 PM David Hastings < hastings.recurs...@gmail.com> wrote: > something like this in your solr config: > > autosuggest "exactMatchFirst">false text str> 0.005 > DocumentDictionaryFactory title "weightField">weight true "buildOnOptimize">true > > I checked both /var

schemaless vs schema based core

2016-01-20 Thread Prateek Jain J
Hi, I have just started to play around with solr capabilities. Got a basic doubt (couldn't get clear answer by searching over internet), I am working on an application which has very basic query requirement like searching on uniqueID or date range(not any faceting or NLP) and I have all the in

RE: schemaless vs schema based core

2016-01-21 Thread Prateek Jain J
etting stored on separate disc This is pretty scary. How are you controlling what fields get indexed? You mentioned SolrJ, so I'm presuming you have a mechanism to map all the information (meta-data included) you get from those random/unknown sources into your known schema? FWIW, Erick On We

Recall: schemaless vs schema based core

2016-01-21 Thread Prateek Jain J
Prateek Jain J would like to recall the message, "schemaless vs schema based core".

RE: Close and open vendor sorting

2016-01-22 Thread Prateek Jain J
According to me this is what you are looking for https://wiki.apache.org/solr/QueryElevationComponent Regards, Prateek Jain Team: Totoro Mobile: +353 894 391716 -Original Message- From: irshad siddiqui [mailto:irshad.s...@gmail.com] Sent: 22 January 2016 07:32 AM To: solr-user@lucene

Using Custom Enum

2016-01-25 Thread Prateek Jain J
Hi, I am trying to define application specific enums in solr. While running test cases, solr complains for unknown type, here are the steps performed: 1. Defined enum type in schema.xml like 2. Created enums.xml in conf directory with contents

RE: Using Custom Enum

2016-01-25 Thread Prateek Jain J
Finally found the error. It was a typo fieldType was marked as filedType Regards, Prateek Jain -Original Message- From: Prateek Jain J [mailto:prateek.j.j...@ericsson.com] Sent: 25 January 2016 12:11 PM To: solr-user@lucene.apache.org Subject: Using Custom Enum Hi, I am trying to

enum vs string performance

2016-01-28 Thread Prateek Jain J
Hi, We have some fixed string constants in our application like eventType, sourceEvent etc. We don't have requirement of partial/wildcard search on these fields. Will there be any performance gain while inserting or querying if, we take their fieldType as EnumField in solr? Regards, Prateek

dynamic fields | Naming conventions

2016-01-29 Thread Prateek Jain J
Hi, We have decided to use dynamic fileds in solr for some of our use-case. What we found in examples that these are declared as: It is based upon suffix approach. What we are think to implement is: According to, second approach would be more human readable and maintainable

Solr | index | Lock Type

2016-02-26 Thread Prateek Jain J
Hi All, We are seeing an issue with solr where solr is failing to initialize the cores with the following errors. We have gone through the solr documentation on these errors and its mentioned that this could happen when solr is running in clustered mode. But in our case solr is deployed in 2N-

using custom analyzer on SolrCloud

2016-04-02 Thread Rose, Stuart J
I am trying to setup on my dev workstation a small SolrCloud in order to assess the faceting capability in Solr 5.5 and I have several questions. First some context: I need to be able to add a field that uses a custom analyzer. In a perfect world I would be able to just drop the 'customanalyzer

RE: using custom analyzer on SolrCloud

2016-04-04 Thread Rose, Stuart J
x27; Stuart -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Sunday, April 03, 2016 8:04 PM To: solr-user@lucene.apache.org Subject: Re: using custom analyzer on SolrCloud On 4/2/2016 9:04 PM, Rose, Stuart J wrote: > I am trying to setup on my dev workstat

solr | backup and restoration

2016-04-27 Thread Prateek Jain J
Hi, We are using solr 4.8.1 in production and want to create backups at runtime. As per the reference guide, we can create backup using something like this: http://localhost:8983/solr/myCore/replication?command=backup&location=/tmp/myBackup&numberToKeep=1 and we verified that some file are ge

RE: solr | backup and restoration

2016-04-27 Thread Prateek Jain J
Manually copying files under index directory fixed the issue. Regards, Prateek Jain -Original Message- From: Prateek Jain J [mailto:prateek.j.j...@ericsson.com] Sent: 27 April 2016 02:08 PM To: solr-user@lucene.apache.org Subject: solr | backup and restoration Hi, We are using

Re: Issues with Authentication / Role based authorization

2016-05-11 Thread Brian J. Vanecek
I can't say I followed your entire example, but I think you're running into a couple of issues: 1) Users don't get any roles by default. So, when you initial setup includes this: { "name": "all", "role": "all" } but nobody has the "all" role, it doesn't surprise m

Doc expiration & security plug-ins

2016-05-12 Thread Brian J. Vanecek
All, I'm facing some difficulties utilizing both document expiration and the security plug-ins in Solr 5.5.0. Looking at the log file for the shard1 leader, I can see it initiate the delete process. Unfortunately, it rapidly emits errors for all of the other nodes, as those requests get reject

Does anybody crawl to a database and then index from the database to Solr?

2016-05-13 Thread Pryor, Clayton J
Question: Do any of you have your crawlers write to a database rather than directly to Solr and then use a connector to index to Solr from the database? If so, have you encountered any issues with this approach? If not, why not? I have searched forums and the Solr/Lucene email archives (includ

RE: [EXTERNAL] Re: Does anybody crawl to a database and then index from the database to Solr?

2016-05-15 Thread Pryor, Clayton J
all sounds pretty good to me, but I've only been on the list here a > short time - so I'll leave it to others to add their comments. > > On Fri, May 13, 2016 at 2:46 PM, Pryor, Clayton J > wrote: > >> Question: >> Do any of you have your crawlers write to a d

AUTO: Brian J. Vanecek is out of the office (returning 08/15/2016)

2016-08-12 Thread Brian J. Vanecek
I am out of the office until 08/15/2016. Note: This is an automated response to your message "Re: commit it taking 1300 ms" sent on 8/11/2016 10:58:34 PM. This is the only notification you will receive while this person is away. ** This email and any attachments may contain information tha

index and data directories

2016-11-14 Thread Prateek Jain J
Hi All, We are using solr 4.8.1 and would like to know if it is possible to store data and indexes in separate directories? I know following tag exist in solrconfig.xml file C:/del-it/solr/cm_events_nbi/data Regards, Prateek Jain

RE: index and data directories

2016-11-14 Thread Prateek Jain J
://j.mp/SolrERG Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 15 November 2016 at 02:37, Prateek Jain J wrote: > > Hi All, > > We are using solr 4.8.1 and would like to know if it is possible to > store data and indexes in separate dire

RE: index and data directories

2016-11-14 Thread Prateek Jain J
red="true" bits the no, there's no way to segregate that our from the other files that make up a segment. Best, Erick On Mon, Nov 14, 2016 at 7:58 AM, Prateek Jain J wrote: > > Hi Alex, > > I am unable to get it correctly. Is it possible to store indexes and d

RE: index and data directories

2016-11-15 Thread Prateek Jain J
as well. There's no option to store the original semi-structured doc either. Best, Erick On Mon, Nov 14, 2016 at 12:35 PM, Prateek Jain J wrote: > > By data, I mean documents which are to be indexed. Some fields can be > stored="true" but that doesn’t matter. > >

unable to write docs

2016-11-21 Thread Prateek Jain J
Hi All, We are observing that SOLR is able to query documents but is failing to write documents (create indexes). This is happening only for one core, other cores are working fine. Can you think of possible reasons which can lead to this? Disk has enough space to write/index and has correct pe

RE: unable to write docs

2016-11-21 Thread Prateek Jain J
Jain J wrote: > > Hi All, > > We are observing that SOLR is able to query documents but is failing to write > documents (create indexes). This is happening only for one core, other cores > are working fine. Can you think of possible reasons which can lead to this? > Disk

solr | performance warning

2016-11-21 Thread Prateek Jain J
Hi All, I am observing following error in logs, any clues about this: 2016-11-06T23:15:53.066069+00:00@solr@@ org.apache.solr.core.SolrCore:1650 - [my_custom_core] PERFORMANCE WARNING: Overlapping onDeckSearchers=2 Slight web search suggests that it could be a case of too-frequent commits. I

RE: solr | performance warning

2016-11-21 Thread Prateek Jain J
ur commit interval. It's usually best to just let autocommit handle this BTW. This is totally on a per-core basis. You won't get this warning if you commit to coreA and coreB simultaneously, only if you commit to an individual core too frequently. Best, Erick On Mon, Nov 21, 2016 at 7:47

RE: unable to write docs

2016-11-21 Thread Prateek Jain J
- > http://www.solr-start.com/ - Resources for Solr users, new and > experienced > > > On 22 November 2016 at 00:39, Prateek Jain J > wrote: > > > > 1. Commits are issued every 30 seconds, not on every write operation. > > 2. logs only has error entries s

RE: Solr 6 Performance Suggestions

2016-11-22 Thread Prateek Jain J
I am not sure but I heard this in one of discussions, that you cant migrate directly from solr 4 to solr 6. It has to be incremental like solr 4 to solr 5 and then to solr 6. I might be wrong but is worth trying. Regards, Prateek Jain -Original Message- From: Max Bridgewater [mailto:

SOLR vs mongdb

2016-11-23 Thread Prateek Jain J
Hi All, I have started to use mongodb and solr recently. Please feel free to correct me where my understanding is not upto the mark: 1. Solr is indexing engine but it stores both data and indexes in same directory. Although we can select fields to store/persist in solr via schema.xml.

RE: SOLR vs mongdb

2016-11-23 Thread Prateek Jain J
without any static schema. In Solr you need to define your schema. In solr you can define dynamic fields too. This is all my understanding. - Rohit On Wed, Nov 23, 2016 at 10:27 AM, Prateek Jain J < prateek.j.j...@ericsson.com> wrote: > > Hi All, > > I have started to use mongodb

RE: SOLR vs mongdb

2016-11-24 Thread Prateek Jain J
e use cases you can use either one to serve both cause. But you >>> can also pound nails with a brick and make holes with a hammer. >>> >>> Oh, and do not read this as me endorsing MongoDB. I would probably >>> look at Postgress with JSON columns instead,

RE: SOLR vs mongdb

2016-11-24 Thread Prateek Jain J
go and you can store content in Solr, so for >>>> simple use cases you can use either one to serve both cause. But >>>> you can also pound nails with a brick and make holes with a hammer. >>>> >>>> Oh, and do not read this as me endorsing MongoDB. I

RE: OOMs in Solr

2016-12-12 Thread Prateek Jain J
Please provide some information like, disk space available deployment model of solr like solr-cloud or single instance jvm version no. of queries and type of queries etc. GC algorithm used etc. Regards, Prateek Jain -Original Message- From: Alfonso Muñoz-Pomer Fuentes [mailto:amu...@

RE: OOMs in Solr

2016-12-12 Thread Prateek Jain J
You can also try following: 1. reduced stack size of thread using -Xss flag. 2. Try to use sharding instead of single large instance (if possible). 3. reduce cache size in solrconfig.xml Regards, Prateek Jain -Original Message- From: Alfonso Muñoz-Pomer Fuentes [mailto:amu...@ebi.ac.uk

Solr | OOM

2016-12-22 Thread Prateek Jain J
Hi, We are using solr 4.8.1 and getting OOM Error in one of the test environments. Given below are the details: 1. OS - Linux, 64 bit, 32 GB RAM 2. Solr - 4.8.1, 8 GB allocation as java heap. Installed as service. Thread size (-Xss of 256K, -XX:+UseParallelOldGC). 3. Java

DataImportHandler | Query | performance

2016-12-23 Thread Prateek Jain J
Hi All, We need some advice/views on the way we push our documents in SOLR (4.8.1). So, here are the requirements: 1. Document could be from 5 to 100 KB in size. 2. 10-50 users actively querying solr with different sort of data. 3. Data will be available frequently to be pu

RE: DataImportHandler | Query | performance

2016-12-23 Thread Prateek Jain J
Thanks a lot Shawn. Regards, Prateek Jain -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 23 December 2016 01:36 PM To: solr-user@lucene.apache.org Subject: Re: DataImportHandler | Query | performance On 12/23/2016 5:15 AM, Prateek Jain J wrote: > We n

logging query received

2017-02-17 Thread Prateek Jain J
Hi All, How can I log queries received by solr from applications. By query, I mean full URL with parameters executed by application. For example, I expect to see something like this http://solr:8389/my_collection?q=*:*&fq=eventRecordTimestamp:[NOW-6MILLISECONDS TO NOW] I tried to enable

RE: logging query received

2017-02-17 Thread Prateek Jain J
d experienced On 17 February 2017 at 07:17, Prateek Jain J wrote: > > > Hi All, > > > > How can I log queries received by solr from applications. By query, I > mean full URL with parameters executed by application. For example, > > > > I expec

CDCR support with solr version 4.10.3

2017-03-15 Thread Ganesh Kumar J
Hi Solr Team, We are using apache solr 4.10.3 version along with CDH 5.4.8. We like to know that the Cross Data Center Replication (CDCR) support with the solr version 4.10.3 We

Solr | cluster | behaviour

2017-03-29 Thread Prateek Jain J
Hi All, We are having solr deployment in active passive mode. So, ideally only one instance should be up and running at a time. That's true we only see one instance serving requests but we do see some activity in CPU for the standby solr instance. These instances are writing to shared disk.

RE: Solr | cluster | behaviour

2017-03-29 Thread Prateek Jain J
Just to update, we are using solr 4.8.1 Regards, Prateek Jain -Original Message- From: Prateek Jain J Sent: 29 March 2017 10:22 AM To: solr-user@lucene.apache.org Subject: Solr | cluster | behaviour Hi All, We are having solr deployment in active passive mode. So, ideally only

RE: Solr | cluster | behaviour

2017-03-29 Thread Prateek Jain J
Thanks Shawn. Regards, Prateek Jain -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 29 March 2017 01:27 PM To: solr-user@lucene.apache.org Subject: Re: Solr | cluster | behaviour On 3/29/2017 3:21 AM, Prateek Jain J wrote: > We are having solr deployment

Solr WARN Log

2014-09-09 Thread Joseph V J
Hi, I'm trying to upgrade Solr from version 4.2 to 4.9, since then I'm receiving the following warning from solr log. It would be great if anyone could throw some light into it. Level Logger Message WARN ManagedResource *No registered observers for /rest/managed* OS Used : Debian GNU/Linux 7 ~T

Re: Solr WARN Log

2014-09-09 Thread Joseph V J
Thank you for the update Shawn. ~Regards Joe On Tue, Sep 9, 2014 at 6:14 PM, Shawn Heisey wrote: > On 9/9/2014 2:56 AM, Joseph V J wrote: > > I'm trying to upgrade Solr from version 4.2 to 4.9, since then I'm > > receiving the following warning from solr log. It w

Re: Solr WARN Log

2014-09-11 Thread Joseph V J
Hi Chris, But it seems this has not fixed in 4.10, as the issue SOLR-6179 is not in changes list http://lucene.apache.org/solr/4_10_0/changes/Changes.html ~Thanks Joe On Thu, Sep 11, 2014 at 2:08 AM, Chris Hostetter wrote: > : > I'm trying to u

Re: Solr WARN Log

2014-09-13 Thread Joseph V J
Thank you for the info Chris. ~Regards Joe On Thu, Sep 11, 2014 at 10:36 PM, Chris Hostetter wrote: > > : But it seems this has not fixed in 4.10, as the issue SOLR-6179 > : is not in changes list > : http://lucene.apache.org/solr/4_10_0/changes

ERROR StreamingSolrServers 4.10.2

2014-11-23 Thread Joseph V J
Hi, I have a production Solr Cloud setup which has been migrated from 4.2 to 4.10.2. Upon then at times I'm getting this ERROR. ERROR StreamingSolrServers org.apache.solr.common.SolrException: Bad Request request: http://10.0.0.160:8080/solr/profiles/update?update.distrib=TOLEADER&distrib.from=h

Re: ERROR StreamingSolrServers 4.10.2

2014-11-24 Thread Joseph V J
Hi Team, Does this mean that the updates on the other server is not getting forwarded to leader? Or can this error be safely ignored? ~Regards Joe On Mon, Nov 24, 2014 at 12:24 PM, Joseph V J wrote: > Hi, > > I have a production Solr Cloud setup which has been migrated from 4.2 to

Re: ERROR StreamingSolrServers 4.10.2

2014-11-25 Thread Joseph V J
2014 at 1:45 PM, Ahmet Arslan wrote: > Hi Joe, > > StreamingSolrServer is renamed to ConcurrentSolrServer. > I am surprised you see > 'StreamingSolrServers' in your logs. May be you need to upgrade your > client jars too? > > Ahmet > > > On Tuesday, November

To understand SolrCloud configurations

2014-12-11 Thread E S J
Hello Team, I would like to get clarified where to place schema.xml on SolrCloud set-up. My Solr cloud set-up , 3 nodes, 3 shards and 3 replications, 3 ZooKeeper What I have done is, 1. Taken a solr.war from solr default download ( solr-4.10.2/example/webapps/solr.war - 4.10.2) and placed /we

To understand SolrCloud configurations

2014-12-11 Thread E S J
Hello Team, I would like to get clarified where to place schema.xml on SolrCloud set-up. My Solr cloud set-up , 3 nodes, 3 shards and 3 replications, 3 ZooKeeper What I have done is, 1. Taken a solr.war from solr default download ( solr-4.10.2/example/webapps/solr.war - 4.10.2) and placed /we

Re: To understand SolrCloud configurations

2014-12-11 Thread E S J
tory/conf > -confname default" and SolrCloud would happily overwrite your configs > in the Zookeeper "default" node with the new ones, _and_ distribute > them to all the Solr nodes when they were restarted. > > So where your configs "should" live is in some ki

Re: To understand SolrCloud configurations

2014-12-11 Thread E S J
d into? [2] 3 3 How many replicas per shard would you like to create? [2] 3 3 *Please choose a configuration for the gettingstarted collection, available options are: default or schemaless [default]* On 12 December 2014 at 16:03, Shawn Heisey wrote: > > On 12/11/2014 6:31 PM, E S J wrote: &g

Re: To understand SolrCloud configurations

2014-12-14 Thread E S J
( like curl) to index data to solrcloud such a way CloudSolrServer use ZooKeeper to LB/Pick Solr instance ? Thanks, Shanaka On 12 December 2014 at 16:09, E S J wrote: > > Thanks, I thought only option is default or schemaless because , When we > run bin/solr -e cloud you will get pro

Re: To understand SolrCloud configurations

2014-12-15 Thread E S J
4 at 19:22, Shawn Heisey wrote: > > On 12/14/2014 12:41 PM, E S J wrote: > > This question is related to the same configurations I've posted. How > should > > I manually test indexing via Zookeeper, I mean not directly accessing > solr > > nodes like, > >

Re: SolrCloud Collection creation timeout

2014-12-16 Thread E S J
have to connect to ZK server and see It's connected to Solr correctly. Have you register solr configurations with ZK (using zkcli.sh)? Thanks, Shanaka J On 16 December 2014 at 16:44, Shanaka Munasinghe wrote: > > Hi All > > Im using solrcloud 4.10.2 with zookeepr 3.4.6. there are 3

Re: To understand SolrCloud configurations

2014-12-18 Thread E S J
appily overwrite your configs > in the Zookeeper "default" node with the new ones, _and_ distribute > them to all the Solr nodes when they were restarted. > > So where your configs "should" live is in some kind of version > control.. > > HTH, > Erick >

Re: To understand SolrCloud configurations

2014-12-18 Thread E S J
ds and goes. So the path is something like > /configs/whatevertheconfignameis. > > HTH, > Erick > > On Thu, Dec 18, 2014 at 3:53 PM, E S J wrote: > > Hi Erick, > > > > This question came to my mind after sometime seen your reply, Why Solr > > configura

AUTO: Ryan J Minniear is out of the office. (returning 08/19/2013)

2013-08-03 Thread Ryan J Minniear
I am out of the office until 08/19/2013. I will respond to your message when I return. Note: This is an automated response to your message "Re: Incremental update, of a sort" sent on 08/03/2013 0:36:16. This is the only notification you will receive while this person is away.

Accessing multicore setup using solrj

2013-03-26 Thread J Mohamed Zahoor
Hi I am having a multi core setup with 2 core "core0" and core1". How do i insert doc in core 1? I am using as below. searchServer = new CloudSolrServer(zooQourumUrl); searchServer.setDefaultCollection("core1"); searchServer.connect(); and i get "No live solr servers" exception. But i could s

multicore vs multi collection

2013-03-26 Thread J Mohamed Zahoor
Hi I am kind of confuzed between multi core and multi collection. Docs dont seem to clarify this.. can someone enlighten me what is ther difference between a core and a collection? Are they same? ./zahoor

Re: multicore vs multi collection

2013-03-26 Thread J Mohamed Zahoor
> Solr setup to SolrCloud, > you would have 2 collections, each made up of multiple individual > SolrCores<http://wiki.apache.org/solr/SolrCores>. > > > 2013/3/26 J Mohamed Zahoor > >> Hi >> >> I am kind of confuzed between multi core and multi colle

Query using function query result

2013-04-02 Thread J Mohamed Zahoor
Hi i want to query documents which match a certain dynamic criteria. like, How do i get all documents, where sub(field1,field2) < 0 ? i tried _val_: sub(field1,field2) and used fq:[_val_:[0 TO *] But it doesnt work. ./Zahoor

CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-13 Thread J Mohamed Zahoor
Hi This question has come up many times in the list with lots of variations (which confuses me a lot). Iam using Solr 4.1. one collection , 6 shards, 6 machines. I am using CloudSolrServer inside each mapper to index my documents…. While it is working fine , iam trying to improve the indexing

Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-14 Thread J Mohamed Zahoor
Thanks.. Will try multithreading with CloudSolrServer. ./zahoor On 13-Apr-2013, at 9:11 PM, Mark Miller wrote: > > On Apr 13, 2013, at 11:07 AM, J Mohamed Zahoor wrote: > >> Hi >> >> This question has come up many times in the list with lots of variations

Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-16 Thread J Mohamed Zahoor
It sure increased the performance . Thanks for the input. ./zahoor On 14-Apr-2013, at 10:13 PM, J Mohamed Zahoor wrote: > Thanks.. > Will try multithreading with CloudSolrServer. > > ./zahoor > > On 13-Apr-2013, at 9:11 PM, Mark Miller wrote: > >> >>

zkState changes too often

2013-04-16 Thread J Mohamed Zahoor
Hi I am using SolrCloud (4.1) with 6 nodes. When i index the documents from the mapper and as the load increases.. i see these messages in my mapper logs… WHich looks like it is slowing down my indexing speed. 2013-04-16 06:04:18,013 INFO org.apache.solr.common.cloud.ZkStateReader: Updating li

Max http connections in CloudSolrServer

2013-04-17 Thread J Mohamed Zahoor
Hi I am pumping parallel select queries using CloudSolrServer. It looks like it can handle only certain no of max connections... my Question is, How many concurrent queries does a CloudSolrServer can handle? An old thread tries to answer this by asking to give our own instance of LBHttpSolrSe

Re: Max http connections in CloudSolrServer

2013-04-18 Thread J Mohamed Zahoor
Thanks for this. The reason i asked this was.. when i fire 30 queries simultaneously from 30 threads using the same CloudSolrServer instance, some queries gets fired after a delay.. sometime the delay is 30-50 seconds... In solr logs i can see.. 20+ queries get fired almost immediately... but s

stats.facet not working for timestamp field

2013-04-18 Thread J Mohamed Zahoor
Hi I am using SOlr 4.1 with 6 shards. i want to find out some "price" stats for all the days in my index. I ended up using stats component like "stats=true&stats.field=price&stats.facet=timestamp". but it throws up error like Invalid Date String:' #1;#0;#0;#0;'[my(#0;' My Question is :

Re: Max http connections in CloudSolrServer

2013-04-18 Thread J Mohamed Zahoor
I dont yet know if this is the reason... I am looking if jetty has some limit on accepting connections.. ./zahoor On 18-Apr-2013, at 12:52 PM, J Mohamed Zahoor wrote: > > Thanks for this. > The reason i asked this was.. when i fire 30 queries simultaneously from 30 > threa

Re: stats.facet not working for timestamp field

2013-04-21 Thread J Mohamed Zahoor
eld? > > Best > Erick > > On Thu, Apr 18, 2013 at 8:37 AM, J Mohamed Zahoor wrote: >> Hi >> >> I am using SOlr 4.1 with 6 shards. >> >> i want to find out some "price" stats for all the days in my index. >> I ended up using stats compon

<    1   2   3   4   >