Re: [EXTERNAL] Re: Facet Sorting

2018-07-18 Thread Satheesh . Akkinepally
Thank You Chris for an immediate response. I am using json facets and my question was for json facets and using solr 7.2.1. Will try your approach. Basically I want to use an average of the scores than the sum of the scores and sort those buckets based on the average score. The scores am

Re: Memory requirements for TLOGs (7.3.1)

2018-07-18 Thread Ash Ramesh
Thanks for the quick responses Shawn & Erick! Just to clarify another few points: 1. Does having a larger heap size impact ingesting additional documents to the index (all CRUD operations) onto a TLOG? 2. Does having a larger ram configured machine (in this case 32gb) affect ingestion on TLOGS

Re: Facet Sorting

2018-07-18 Thread Chris Hostetter
: If I want to plug in my own sorting for facets, what would be the best : approach. I know, out of the box, solr supports sort by facet count and : sort by alpha. I want to plug in my own sorting (say by relevancy). Is : there a way to do that? Where should I start with if I need to write a

Re: NullPointerException at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:324)

2018-07-18 Thread Erick Erickson
Probably SOLR-11770 and/or SOLR-11792. In the meantime, insure that has stored=true set and insure that there are terms. You'll probably have to re-index though Best, Erick On Wed, Jul 18, 2018 at 10:38 AM, babuasian wrote: > Hi,Running solr version 6.5.Trying to get tf-idf values of a term

Re: Solr cloud in kubernetes

2018-07-18 Thread ssivashunm
https://github.com/freedev/solrcloud-zookeeper-kubernetes provides more detail about persistent disck usage for solr data and home. Th issue I face is, since all three statefulset will use the same solr port (as they are replicas) they are not communicating with one another. -- Sent from:

NullPointerException at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:324)

2018-07-18 Thread babuasian
Hi,Running solr version 6.5.Trying to get tf-idf values of a term ‘price’ .../solr/mycore/tvrh/?q=price=0=1=on=true=true=trueWhen run, I get the following messagejava.lang.NullPointerException at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:324) at

Re: Memory requirements for TLOGs (7.3.1)

2018-07-18 Thread Erick Erickson
There's little good reason to _not_ route searches to your TLOG replicas. The only difference between the PULL and TLOG replicas is that the TLOG replicas get a raw copy of the incoming document from the leader and write them to the TLOG. I.e. there's some additional I/O. It's possible that if

Re: Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread Shawn Heisey
On 7/18/2018 8:31 AM, THADC wrote: Thanks for the reply. I read the link you provided. I am currently not specifying a heap size with solr so my understanding is that by default it will just grow automatically. If I add more physical memory to the VM without doing anything with heap size, won't

Re: Memory requirements for TLOGs (7.3.1)

2018-07-18 Thread Shawn Heisey
On 7/18/2018 12:04 AM, Ash Ramesh wrote: I have a quick question about what the memory requirements for TLOG machines are on 7.3.1. We currently run replication where there are 3 TLOGs with 8gb ram (2gb heap) and N PULL replicas with 32gb ram (4gb heap). We have > 10M documents (1 collection)

Re: Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread THADC
Thanks for the reply. I read the link you provided. I am currently not specifying a heap size with solr so my understanding is that by default it will just grow automatically. If I add more physical memory to the VM without doing anything with heap size, won't that possibly fix the problem?

Re: Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread Shawn Heisey
On 7/18/2018 7:10 AM, THADC wrote: We performed a full reindex for the first time against our largest database and on two new VMs dedicated to solr indexing. We have two solr nodes (solrCloud/solr7.3) with a zookeeper cluster. Several hours into the reindexing process, both solr nodes shut down

Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread THADC
Hi, We performed a full reindex for the first time against our largest database and on two new VMs dedicated to solr indexing. We have two solr nodes (solrCloud/solr7.3) with a zookeeper cluster. Several hours into the reindexing process, both solr nodes shut down with:

RE: Cannot index to 7.2.1 collection alias

2018-07-18 Thread Markus Jelsma
Ah, it was caused by an badly made alias via the GUI. If you do not select the destination collection in that popup, it will mess up, and show these exceptions. -Original message- > From:Markus Jelsma > Sent: Tuesday 17th July 2018 16:52 > To: solr-user@lucene.apache.org > Subject:

RE: API to convert solr response to Rowset

2018-07-18 Thread Srinivas Kashyap
I have a collection and thru solrJ, Ii query the collection and get QueryResponse SolrJ object. Is there a way I can convert this query response to Rowset(JDBC). I see the parallel SQL interface is introduced in 7.x version, but is it possible in Solr 5.2.1? Thanks and Regards, Srinivas

Re: synonyms question

2018-07-18 Thread ennio
Vicenzo, Thank you for the tip. I restarted Solr and it worked. -Ennio -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: API to convert solr response to Rowset

2018-07-18 Thread Alexandre Rafalovitch
Do you mean to use it with JDBC like source? https://lucene.apache.org/solr/guide/7_4/parallel-sql-interface.html Regards, Alex On Wed, Jul 18, 2018, 2:15 AM Srinivas Kashyap, < srini...@tradestonesoftware.com> wrote: > Hello, > > Is there any API to convert Solr query response to JDBC

Re: Timeout waiting for connection from pool

2018-07-18 Thread akshay
Is there any way through which I can create an external plugin and update this values? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Timeout waiting for connection from pool

2018-07-18 Thread akshay
I don't have an issue with increasing the request rate. But facing this issue when the system is going under recovery. Its not able to recover properly and throwing this connection error -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Timeout waiting for connection from pool

2018-07-18 Thread Zisis T.
If you are having an issue when increasing the search request rate you should have a look at maxConnectionsPerHost, I believe maxUpdateConnectionsPerHost is related to indexing. You can modify your solr.xml as follows (I believe it's not clear from the official documentation, I had to go through

Timeout waiting for connection from pool

2018-07-18 Thread akshay
Hey, I am currently running solr 5.4.0 in solr cloud mode. Everything has been working fine till now but when I start increasing the request rate I am starting to get connection timeout errors. Caused by: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from

Re: Block Join Faceting issue

2018-07-18 Thread soham gandhi
I am using solr 6.2.1. Is json.facet supported there? If not, is there a way to combine the 2 queries into a single query in solr 6.2.1? In the example I mentioned, could you please help me form a sample query where I can facet on both parent as well as child docs? Thanks, Soham On Wed, Jul 18,

Re: Block Join Faceting issue

2018-07-18 Thread Mikhail Khludnev
child.facet.field works if parent query goes as q ie q={!parent which="doc_type:parent"}color:blue. However, it's considered as deprecated and proposed to be replaced with json.facet and uniqueBlock On Wed, Jul 18, 2018 at 7:04 AM soham gandhi wrote: > Hi, > > I am working on a query that

API to convert solr response to Rowset

2018-07-18 Thread Srinivas Kashyap
Hello, Is there any API to convert Solr query response to JDBC Rowset? Thanks and Regards, Srinivas Kashyap

Memory requirements for TLOGs (7.3.1)

2018-07-18 Thread Ash Ramesh
Hi everybody, I have a quick question about what the memory requirements for TLOG machines are on 7.3.1. We currently run replication where there are 3 TLOGs with 8gb ram (2gb heap) and N PULL replicas with 32gb ram (4gb heap). We have > 10M documents (1 collection) with the index size being ~