Re: Solr is very slow with term vectors

2019-08-15 Thread Jörn Franke
How much response time do you require? I think you have to solve the issue in your code by introducing higher parallelism during calculation and potentially more cores. Maybe you can also precalculate what you do, cache it and use during request the precalculated values. > Am 16.08.2019 um 05:

Re: Solr is very slow with term vectors

2019-08-15 Thread Vignan Malyala
Hi Any solution for this? Taking around 50 seconds to get response. On Mon 12 Aug, 2019, 3:28 PM Vignan Malyala, wrote: > Hi Doug / Walter, > > I'm just using this methodology. > PFB link of my sample code. > https://github.com/saaay71/solr-vector-scoring > > The only issue is speed of response

"Missing" Docs in Solr

2019-08-15 Thread Brian Lininger
Hi All, I'm seeing some odd behavior that I'm hoping someone might have encountered before. We're using Solr 6.6.6 and very infrequently (happened twice in the past year) we're getting 0 hits returned for a query that I know should have results. We've hit this issue once over the past year in 2 s

Re: Solr cloud questions

2019-08-15 Thread Kojo
Erick, I am using Python, so I think SolrJ is not an option. I wrote my libs to connect to Solr and interpret Solr data. I will try to load balance via Apache that is in front of Solr, before I change my setup, I think it will be simpler. I was not aware about the single point of failure on Solr C

Re: maxChars no longer working on CopyField as of 7.7

2019-08-15 Thread Chris Troullis
Thanks Erik. I created SOLR-13699. I agree wrt adding a Unit Test, that was my thinking as well. I am currently working on a test, and then I will submit my patch. Thanks, Chris On Thu, Aug 15, 2019 at 1:06 PM Erick Erickson wrote: > Chris: > > I certainly don’t see anything in JIRA about this

Re: Solr cloud questions

2019-08-15 Thread Erick Erickson
OK, if you’re sending HTTP requests to a single node, that’s something of an anti-pattern unless it’s a load balancer that sends request to random nodes in the cluster. Do note that even if you do send all http requests to one node, the top-level request will be forwarded to other nodes in the clus

Re: maxChars no longer working on CopyField as of 7.7

2019-08-15 Thread Erick Erickson
Chris: I certainly don’t see anything in JIRA about this, so please do raise a JIRA, especially as you already have a patch! It’d be great if you added a test case demonstrating this that fails without your patch and succeeds after. I’d just add a method to one of the existing tests, maybe in so

maxChars no longer working on CopyField as of 7.7

2019-08-15 Thread Chris Troullis
Hi all, We recently upgraded from Solr 7.3 to 8.1, and noticed that the maxChars property on a copy field is no longer functioning as designed. Per the most recent documentation it looks like there have been no intentional changes as to the functionality of this property, so I assume this is a bug

Re: Solr cloud questions

2019-08-15 Thread Kojo
Erick, I am starting to think that my setup has more than one problem. As I said before, I am not balancing my load to Solr nodes, and I have eight nodes. All of my web application requests go to one Solr node, the only one that dies. If I distribute the load across the other nodes, is it possible

Re: Multiple documents with different fields in the same collection

2019-08-15 Thread Erick Erickson
Vlad: “different schemas in one schema” is really just multiple and definitions. There’s no requirement at all that two Solr documents share any fields (well, except if you have ‘required=“true”’ set for a field, for instance the “id” field). I’d also include a “doc_type” field set to A or B