Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Jan Høydahl
I think you are hitting this bug https://issues.apache.org/jira/browse/SOLR-12779 Jan > 29. apr. 2021 kl. 08:51 skrev Ere Maijala : > > Hello Markus, > > Thanks for the reply. I'm not sure I understand. The docs state the following: > > "The default value of mm is 0% (all clauses optional), u

Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Ere Maijala
Ah, yes, that seems to be the case. Thanks for the pointer! Also the discussion is enlightening. It looks like there hasn't been much happening in that bug so I'll need to consider any other options. --Ere Jan Høydahl kirjoitti 29.4.2021 klo 11.48: I think you are hitting this bug https://is

Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Atita Arora
I struggled with something very similar today, which turned our search model upside down as in Solr 8+ edismax uses sow=false by default and it was true in Solr 6 (where we upgraded from), but after adding this my handler things were back to normal. On Thu, Apr 29, 2021 at 11:45 AM Ere Maijala wr

Solr 8.6 Indexing Issue

2021-04-29 Thread Anuj Bhargava
Ever since installing 8.6 a couple of months ago, the indexing was working fine. All of a sudden getting the following error - 4/29/2021, 12:01:59 PM ERROR false DocBuilder Exception while processing: hotels document : SolrInputDocument(fields: []):org.apache.solr.handler.dataimport.DataImportHand

Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Ere Maijala
Thanks for sharing your experience. We've been running sow=false until now and got away with it as most searches hit a catch-all field. That won't be the case in the long run anymore, so now I'm contemplating switching back to sow=true. It's just a bit scary change to do at this point since it

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Charlie Hull
What happens if you run exactly that SELECT query on your source database? Charlie On 29/04/2021 12:08, Anuj Bhargava wrote: Ever since installing 8.6 a couple of months ago, the indexing was working fine. All of a sudden getting the following error - 4/29/2021, 12:01:59 PM ERROR false DocBuil

Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Eric Pugh
This is where having a really nice regression test across a wide variety of representative queries comes in super helpful, to understand the impact of changes not just on one query, but across all your queries. See https://quepid.com/ or https://github.com/SeaseLtd/rated-ranking-evaluator for

Re: Problem with eDisMax and multi-word synonyms

2021-04-29 Thread Ere Maijala
Thanks for the pointers. I suppose the first hurdle is to collect the "wide variety of representative queries". :) But even a small set would provide some indication of the impact, I think, so it wouldn't hurt to start using a proper tool for it. --Ere Eric Pugh kirjoitti 29.4.2021 klo 14.53:

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Anuj Bhargava
{ "responseHeader":{ "status":0, "QTime":11, "params":{ "q":"*:*", "_": "1619701169621"}}, "response":{"numFound":179573,"start":0,"numFoundExact": true,"docs":[ { "country":["AU"], "date_c":"2019-03-14T18:30:00Z", On Thu, 29 Apr 2021 at 17:18, Charlie Hull wrote: > What happens if you run exact

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Anuj Bhargava
Saw the following in the logs - *2021-04-29 11:19:58.330 INFO (main) [ ] o.e.j.s.Server jetty-9.4.27.v20200227; built: 2020-02-27T18:37:21.340Z; git: a304fd9f351f337e7c0e2a7c28878dd536149c6c; jvm 1.8.0_292-b10* *2021-04-29 11:19:58.352 INFO (main) [ ] o.e.j.d.p.ScanningAppProvider Deployment

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Anuj Bhargava
It is not fetching Requests: 1 , Fetched: 0 , Skipped: 0 , Processed: 0 On Thu, 29 Apr 2021 at 18:35, Anuj Bhargava wrote: > Saw the following in the logs - > > *2021-04-29 11:19:58.330 INFO (main) [ ] o.e.j.s.Server > jetty-9.4.27.v20200227; built: 2020-02-27T18:37:21.340Z; git: > a304fd9f

Re: Streaming expression and matrix creation from numerical field

2021-04-29 Thread Joel Bernstein
That's interesting, it seems like you've indexed a matrix into a field. If that's the case I think you'll need to access the arrays using the index as described here: https://solr.apache.org/guide/8_8/vector-math.html#getting-values-by-index Then you can create a matrix from the arrays. I guess

Cannot import documents in Tutorial, exercise 3

2021-04-29 Thread Thomas Hühn
Hello, I'm trying to follow the Solr Tutorial and need some pointers where I'm going wrong. In exercise 3 I cannot import any documents in my localDocs collection, neither using the example\exampledocs\post.jar helper, nor the File Upload in the Admin UI. Neither PDF, nor XML, nor plain text

Re: Streaming expression and matrix creation from numerical field

2021-04-29 Thread FAVORY , XAVIER
Hi Joel, Thank you for pointing me to that part of the documentation. valueAt() is exactly what I needed here. However, as you point out, there seems to be no way to directly get the matrix from a multidimensional array. As a consequence, my streaming expression is very verbose and quite long for

Re: Streaming expression and matrix creation from numerical field

2021-04-29 Thread Joel Bernstein
I agree this is very verbose. I didn't even realize you could index a multidimensional array into a multi-value field until now. Knowing this it makes sense to support matrix creation directly from multi-value arrays. I'll add this when i get some time. Joel Bernstein http://joelsolr.blogspot.c

Re: Streaming expression and matrix creation from numerical field

2021-04-29 Thread FAVORY , XAVIER
Well, I actually index an array in my field. But when I use f1=col(s1, feature), it extracts it as a multi-valued field. I understand that col() is used to extract a field value from multiple retrieved instances, so it kind of puts it into an array, forming a multidimensional array. Could it be po

Re: Streaming expression and matrix creation from numerical field

2021-04-29 Thread Joel Bernstein
If you store it as a multi-value double or float, you would in theory just get the array. It may be the way you are indexing the data rather than defining the field that is creating the outer array. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Apr 29, 2021 at 11:06 AM FAVORY , XAVIER w

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Charlie Hull
I meant can you run it on the database directly, without Solr, and what happens? Best Charlie On 29/04/2021 14:00, Anuj Bhargava wrote: { "responseHeader":{ "status":0, "QTime":11, "params":{ "q":"*:*", "_": "1619701169621"}}, "response":{"numFound":179573,"start":0,"numFoundExact": true,"doc

Learning to Rank - within solr or outside?

2021-04-29 Thread Nitin Arora
Hello, Can someone share the pros and cons of using SOLR's learning to rank vs having an external reranker after fetching SOLR's top results. Which option would you recommend? Thanks in advance,

Permission "all" gets evaluated before more specific ones

2021-04-29 Thread Luca Fregolon
Hello, I am trying to configure Solr authentication using Basic Authentication and Role Based Authorization. I've been facing issues configuring the authorization part, while the authentication part works fine. My goal is to define three groups, containing one user each. One user (chatbot) should h

childFilter Solr 6.6

2021-04-29 Thread Roopa Rao
Hi - I am on version Solr 6.6 and using parent and child construct Query as follows: [child parentFilter='field1:value1' childFilter='((field1:(value1)) AND ({!terms f=field2}value2))' limit=1] Here I want to sort this children by field3 and return only the top 1 element (hence limit=1) . Is the

Re: SecureRandom algorithm 'NativePRNG' is in use

2021-04-29 Thread Chris Hostetter
: > I intermittently face this issue sometimes while running the unit tests. How exactly are you running the tests? ant? IDE? ... It's very strange that this would be an intermittent problem. Can you please post the actual log details from the test so we can see the INFO & WARN level logging

Re: Lucene Fili Fingerprint & ML

2021-04-29 Thread Furkan KAMACI
Hi Ecem, 1.a) What do you mean with File Fingerprint? If that is hash of a file, you should check here: https://solr.apache.org/guide/8_8/de-duplication.html 1.b) Solr has a limited capability of Machine Learning applications. You can check the list from here: https://solr.apache.org/guide/8_8/

Re: Solr 8.6 Indexing Issue

2021-04-29 Thread Anuj Bhargava
Without solr, directly is also working. Only it is not indexing any longer On Thu, 29 Apr 2021 at 21:40, Charlie Hull wrote: > I meant can you run it on the database directly, without Solr, and what > happens? > > Best > > Charlie > > On 29/04/2021 14:00, Anuj Bhargava wrote: > > { "responseHea