Re: Need Help in Apache SOLR scores logic

2020-02-25 Thread Jon Kjær Amundsen
Relevance scoring has indeed changed since Solr 6 from the tf/idf vector model to Okapi BM25. You will need to set the similarity to ClassicSimilarityFactory in the schema. Consult the reference guide[1] how to do it. [1]

RE: How to use existing SolrClient with Streaming

2020-02-25 Thread Gael Jourdan-Weil
Hello, If I understand well, you want to share a SolrClient for streaming code and another piece of non streaming code? I think you can have a look to the SolrClientCache class. Instantiate a SolrClientCache once (as a Bean in your case I guess). Then you can use it for both: * getting a

Rule of thumb for determining maxTime of AutoCommit

2020-02-25 Thread Kayak28
Hello, Solr Community: Another day, I had an error "exceeded limit of maxWarmingSearchers=2." I know this error causes when multiple commits(which opens a new searcher) are requested too frequently. As far as I read Solr wiki, it recommends for me to have more interval between each commit, and

Re: How to use existing SolrClient with Streaming

2020-02-25 Thread sambasivarao giddaluri
during SolrStream initialization i had to pass the URL again rather would like to see if i can get it by any other way . On Tue, Feb 25, 2020 at 5:05 PM sambasivarao giddaluri < sambasiva.giddal...@gmail.com> wrote: > Hi All , > > I have created a SolrClient bean and checking how to use it with

How to use existing SolrClient with Streaming

2020-02-25 Thread sambasivarao giddaluri
Hi All , I have created a SolrClient bean and checking how to use it with SolrStream. @Configuration(proxyBeanMethods = *false*) SolrConfiguration Class @Bean *public* SolrClient solrClient() { String solrBaseUrl="http://***;; *return* *new*

Why does Solr sort on _docid_ with rows=0 ?

2020-02-25 Thread S G
Hi, I see a lot of such queries in my Solr 7.6.0 logs: *path=/select params={q=*:*=false=_docid_+asc=0=javabin=2} hits=287128180 status=0 QTime=7173* On some searching, this is the code seems to fire the above:

How to check for uncommitted changes

2020-02-25 Thread Connor Howington
Is there a request I can make to Solr from a client to tell me whether a core has any uncommitted changes? Thanks, Connor *--* *Connor Howington* *Associate Research Programmer* Center for Research Computing (CRC) University of Notre Dame crc.nd.edu 832M Flanner Hall Notre Dame, IN 46556

Optimize sole 8.4.1

2020-02-25 Thread Massimiliano Randazzo
Good morning, recently I went from version 6.4 to version 8.4.1, I access solerre through java applications written by me to which I have updated the solr-solrj-8.4.1.jar libraries. I am performing the OCR indexing of a newspaper of about 550,000 pages in production for which I have calculated

Need Help in Apache SOLR scores logic

2020-02-25 Thread Karthik Reddy
Hello Team, How are you? This is Karthik Reddy and I am working as a Software Developer. I have one question regarding SOLR scores. One of the projects, which I am working on we are using Lucene Apache SOLR. We were using SOLR 5.4.1 initially and then migrated to SOLR 8.4.1. After migration, I do

Re: Re: Re: Query Autocomplete Evaluation

2020-02-25 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
This article http://wwwconference.org/proceedings/www2011/proceedings/p107.pdf also indicates that MRR needs binary relevance labels, p. 114: "To this end, we selected a random sample of 198 (query, context) pairs from the set of 7,311 pairs, and manually tagged each of them as related (i.e.,

Re: Reindex Required for Merge Policy Changes?

2020-02-25 Thread Zimmermann, Thomas
Thanks so much Erick. Sounds like this should be a perfect approach to helping resolve our current issue. On 2/24/20, 6:48 PM, "Erick Erickson" wrote: Thomas: Yes, upgrading to 7.5+ will automagically take advantage of the improvements, eventually... No, you don’t have to reindex.

Re: Re: Query Autocomplete Evaluation

2020-02-25 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
Thank you, Walter & Paras! So, from the MRR equation, I was under the impression the suggestions all needed a binary label (0,1) indicating relevance.* But it's great to know that you guys use proxies for relevance, such as clicks. *The reason I think MRR has to have binary relevance labels

RE: Solr datePointField facet

2020-02-25 Thread Srinivas Kashyap
Hi Paras, PFB details: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/tssindex/party: SolrCore is loading at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)

Re: Solr datePointField facet

2020-02-25 Thread Paras Lehana
Hi Srinivas, But still facing the same error. The same error? Can you please post the facet query? Please post (part of) your schema too. On Tue, 25 Feb 2020 at 16:00, Srinivas Kashyap wrote: > Hi all, > > I have a date field in my schema and I'm trying to facet on that field and > getting

Re: Solr console showing error in 7 .7

2020-02-25 Thread Paras Lehana
Please post full error possibly with trace (see logs). On Mon, 20 Jan 2020 at 22:29, Rajdeep Sahoo wrote: > When reloading the solr console,it is showing some error in the console > itself for some small amount of time. > The error is error reloading/initialising the core. > -- --

Re: Is it possible to add stemming in a text_exact field

2020-02-25 Thread Paras Lehana
Hi Dhanesh, Use KeywordRepeatFilterFactory . It will emit each token twice and marking one of them as KEYWORD so stemming won't work on that token. Use RemoveDuplicates to remove the duplicates after this.

Solr datePointField facet

2020-02-25 Thread Srinivas Kashyap
Hi all, I have a date field in my schema and I'm trying to facet on that field and getting below error: This field I'm copying to text field(copyfield) as well. Error: Can't facet on a PointField without docValues I tried adding like below: And after the changes, I did full reindex