RE: cmd to enable debug logs

2018-07-09 Thread Prateek Jain J
-Original Message- From: Prateek Jain J [mailto:prateek.j.j...@ericsson.com] Sent: Monday, July 09, 2018 4:26 PM To: solr-user@lucene.apache.org Subject: cmd to enable debug logs Hi All, What's the command (from CLI) to enable debug logs for a core in solr? To be precise, I am using

cmd to enable debug logs

2018-07-09 Thread Prateek Jain J
Hi All, What's the command (from CLI) to enable debug logs for a core in solr? To be precise, I am using solr 4.8.1. I looked into admin guide and it talks about how to do it from UI but nothing from CLI perspective. Any help pointers will be of help. Note: I can't update solrconfig.xml. R

solr read timeout

2018-02-15 Thread Prateek Jain J
Hi All, I am using solr 4.8.1 in one of our application and sometimes it gives read timeout error. SolrJ is used from client side. How can I increase this default read timeout? Regards, Prateek Jain

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

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

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: 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

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: 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

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

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

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

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: 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: 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-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

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 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:

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 | 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

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: unable to write docs

2016-11-21 Thread Prateek Jain J
Subject: Re: unable to write docs 1) Are you definitely issuing commits? 2) Do you have anything in the logs? You should if that's an exceptional situation. Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 21 November 2016 at 23:18, Prateek

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: 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. > >

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-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

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: 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

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

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-

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

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

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

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: 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

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: 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

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