JVM Heap Memory Increase (SOLR CLOUD)

2018-04-20 Thread Doss
We have SOLR(7.0.1) cloud 3 VM Linux instances wit 4 CPU, 90 GB RAM with zookeeper (3.4.11) ensemble running on the same machines. We have 130 cores of overall size of 45GB. No Sharding, almost all VMs has the same copy of data. These nodes are under LB. http://lucene.472066.n3.nabble.com/SOLR-Clo

Re: Run solr server using Java program

2018-04-20 Thread Shawn Heisey
On 4/20/2018 6:01 AM, rameshkjes wrote: Using solrJ, I am able to access the solr core. But still I need to go to command prompt to execute command for solr instance. Is there way to do that? I saw that you entered the IRC channel previouslyand asked the same question, but I got no response fr

Re: SolrCloud design question

2018-04-20 Thread Shawn Heisey
On 4/20/2018 5:38 AM, Bernd Fehling wrote: Thanks Alessandro for the info. I am currently in the phase to find the right setup with shards, nodes, replicas and so on. I have decided to begin with 5 hosts and want to setup 1 collection with 5 shards. And start with 2 replicas per shard. But the

Re: Running an analyzer chain in an update request processor

2018-04-20 Thread Walter Underwood
I’m back. I think I’m following the steps in Eric Hatcher’s slides: https://www.slideshare.net/erikhatcher/solr-indexing-and-analysis-tricks With a few minor changes, like using getIndexAnalyzer() because getAnalyzer() is gone. And I’ve pulled the subroutine code into the main processAdd functi

Re: Run solr server using Java program

2018-04-20 Thread Alessandro Benedetti
To do what? If you mean to start a Solr Server instance, you have the solr.sh ( or the windows starter). You can set up your automation stack to be able to startup Solr one click. SolrJ is a client which means you need Solr up and running. Cheers On Fri, 20 Apr 2018, 16:51 rameshkjes, wrote: >

Re: custom response writer which extends RawResponseWriter fails when shards > 1

2018-04-20 Thread Chris Hostetter
Invariant really means "invariant" ... nothing can change them In the case of "wt" this may seem weird and unhelpful, but the code that handles defaults/appends/invariants is ignorant of what the params are. Since your writting custom code anyway, my suggestion would be that perhaps you could

RE: Specialized Solr Application

2018-04-20 Thread Allison, Timothy B.
>1) the toughest pdfs to identify are those that are partly searchable (text) and partly not (image-based text).  However, I've found that such documents tend to exist in clusters. Agreed. We should do something better in Tika to identify image-only pages on a page-by-page basis, and

Re: Solr group by works only after the filter queries

2018-04-20 Thread Erick Erickson
group.sort? See: https://lucene.apache.org/solr/guide/6_6/result-grouping.html Best, Erick On Fri, Apr 20, 2018 at 12:57 AM, krishnakittu528 wrote: > HI team, > > My simple doc as follows. > > > > - > > - > 1 > 1 > open > > > - > 1 > 2 > open > > >

Solr group by works only after the filter queries

2018-04-20 Thread krishnakittu528
HI team, My simple doc as follows. - - 1 1 open - 1 2 open - 1 3 closed - 2 1 open - 2 2 open - 2 3 closed - 2 4 open I need to f

Re: Run solr server using Java program

2018-04-20 Thread rameshkjes
Using solrJ, I am able to access the solr core. But still I need to go to command prompt to execute command for solr instance. Is there way to do that? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Boosting on matching results

2018-04-20 Thread Erick Erickson
Function queries have things like termfrequencies, document frequencies and the like that might be helpful, see: https://lucene.apache.org/solr/guide/6_6/function-queries.html Best, Erick On Fri, Apr 20, 2018 at 3:58 AM, Ugo Matrangolo wrote: > Hi, > > is it possible to boost a document based on

Re: SolrCloud design question

2018-04-20 Thread Erick Erickson
bq: should each replica get its own instance By "instance" here I'm assuming you mean a JVM, i.e. running multiple JVMs on a single physical node (host). "It Depends"(tm) of course. Each JVMs have some overhead. What I've usually found is that a better question is "how much heap do I need to allo

Re: need help on search on last name + middile initial

2018-04-20 Thread Wendy2
The issue was resolved. *I created a new fieldType:* *A reference:* https://opensourceconnections.com/blog/2013/08/21/name-search-in-solr/ -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: need help on search on last name + middile initial

2018-04-20 Thread Wendy2
Hi Shawn, The issue got resolved :-) Thank you very much for your help!! *I created a new fieldType:* * A reference:* https://opensourceconnections.com/blog/2013/08/21/name-search-in-solr/ -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f47

Re: How to protect middile initials during search

2018-04-20 Thread Wendy2
Hi Alessandro, Thank you very much for your reply! I got the issue resolved based on the suggestion from the article below: https://opensourceconnections.com/blog/2013/08/21/name-search-in-solr/ *I created a new fieldType:* -- Sent from: http://lucene.4

Re: SolrCloud design question

2018-04-20 Thread Bernd Fehling
Thanks Alessandro for the info. I am currently in the phase to find the right setup with shards, nodes, replicas and so on. I have decided to begin with 5 hosts and want to setup 1 collection with 5 shards. And start with 2 replicas per shard. But the next design question is, should each replica

Boosting on matching results

2018-04-20 Thread Ugo Matrangolo
Hi, is it possible to boost a document based on how many of the 'same kind' are in the current search result? An example: I'm looking at 'red dress' and this is the current situation on the facet counts: "facet_counts": { "facet_queries": {}, "facet_fields": { "sku_fashion":

Re: Run solr server using Java program

2018-04-20 Thread Alessandro Benedetti
There are various client API to use Apache Solr[1], in your case what you need is SolrJ[2] . Cheers [1] https://lucene.apache.org/solr/guide/7_3/client-apis.html [2] https://lucene.apache.org/solr/guide/7_3/using-solrj.html#using-solrj - --- Alessandro Benedetti Search Consulta

Re: SolrCloud design question

2018-04-20 Thread Alessandro Benedetti
Unless you use recent Solt 7.x features where replicas can have different properties[1], each replica is functionally the same at Solr level. Zookeeper will elect a leader among them ( so temporary a replica will have more responsibilities ) but (R1-R2-R3) does not really exist at Solr level. It wi

Re: How to protect middile initials during search

2018-04-20 Thread Alessandro Benedetti
Hi Wendy, I recommend to properly configure your analysis chain. You can start posting it here and we can help. Generally speaking you should use the analysis tool in the Solr admin to verify first the analysis chain is configured as you expect, then you can pass modelling the query appropriately.