Re: REST API

2021-07-07 Thread Janvi T
Hi, thanks for sharing but I am trying to get the JSON data from an API. I have a REST API that returns JSON data and I want to use that URL to get the data and then index it. Thanks. On 2021/07/07 04:37:28, Gora Mohanty wrote: > On Wed, 7 Jul 2021 at 00:18, Janvi T wrote: > > > Hi everyon

Re: Payload Fields - Are they still best practise?

2021-07-07 Thread Ashwin Ramesh
Ah thanks Alessandro! Will take a look :) On Tue, Jul 6, 2021 at 7:34 PM Alessandro Benedetti wrote: > Hi Ashwin, > you may find interesting: > > https://sease.io/2020/03/introducing-weighted-synonyms-in-apache-lucene.html > We use payloads for query time weighted synonyms > > Cheers > -

Re: REST API

2021-07-07 Thread Gora Mohanty
On Wed, 7 Jul 2021 at 12:51, Janvi T wrote: > Hi, thanks for sharing but I am trying to get the JSON data from an API. I > have a REST API that returns JSON data and I want to use that URL to get > the data and then index it. > Sorry, somehow missed that bit. * You can write a short script (even

Re: REST API

2021-07-07 Thread Charlie Hull
I think what you're asking is: can Solr connect to an external REST API, pull down data in JSON format and then index that data. No, I don't think there's anything in Solr that can do that: the (deprecated) DataImportHandler can connect to databases and run SQL statements to collect data, but t

Error on atomic update for upgraded index (v 7.3.1 -> 8.8.2)

2021-07-07 Thread Branco Ivanovici
Hello, When trying to perform an atomic update on a document belonging to an upgraded index, the following error occurs: "Attempted an atomic/partial update to a child doc without indicating the _root_ somehow"; although we are not trying to update a document having nested docs. I have attached a

Re: Error on atomic update for upgraded index (v 7.3.1 -> 8.8.2)

2021-07-07 Thread Branco Ivanovici
Hello, Forgot to mention that the log comes from Solr 8.9.0, as I tried to see if the problem still manifests itself on the newest version. Thanks, Branco On Wed, Jul 7, 2021 at 11:17 AM Branco Ivanovici wrote: > Hello, > > When trying to perform an atomic update on a document belonging to an

Re: REST API

2021-07-07 Thread Christopher Schultz
Janvi, On 7/7/21 01:16, Janvi T wrote: On 2021/07/07 04:37:28, Gora Mohanty wrote: On Wed, 7 Jul 2021 at 00:18, Janvi T wrote: Hi everyone, I wanted to know if we can fetch data from REST API can index the data in solr. And if yes then how? I have an API that returns data in JSON format an

Re: Phonetic search

2021-07-07 Thread Christian Havel
Hi, thanks for your reply. Well, the following is my definition. And if I understand correctly, if I create a request to search in the field " **_txt_de*" or "*text_de*" or "*text_general*" it should work with the following definition? *

Arabic NLP

2021-07-07 Thread Alee Shalim
Classification:Internal Team, Quick question. Does Apache Solr support Arabic NLP? Sincerely, Alee Shalim This email is classified as Internal by Alee Shalim Disclaimer: This electronic message and all contents contain information from Mannai Corporation which may be privileged, confidential

Re: REST API

2021-07-07 Thread Janvi T
We did that. Like get the data in the document and then index it in solr. But the approach I was looking is for large data, because the api I will be finally using will fetch a lot of data, it would not be possible to put that data in document and then index it. On 2021/07/07 13:43:14, Christop

Re: Arabic NLP

2021-07-07 Thread Furkan KAMACI
Hi Alee, You can check here for Arabic analyzer: https://solr.apache.org/guide/8_9/language-analysis.html#arabic By the way, here is a presentation about indexing Arabic content in Apache Solr: https://lucidworks.com/post/indexing-arabic-content-apache-solr/ Kind Regards, Furkan KAMACI On Wed

Re: REST API

2021-07-07 Thread Janvi T
Thanks for your help. I think this can help us. I will try this and see if it works. Thanks and regards, Janvi Talreja On 2021/07/07 08:29:20, Gora Mohanty wrote: > On Wed, 7 Jul 2021 at 12:51, Janvi T wrote: > > > Hi, thanks for sharing but I am trying to get the JSON data from an API. I >

Re: REST API

2021-07-07 Thread Christopher Schultz
Janvi, On 7/7/21 10:08, Janvi T wrote: We did that. Like get the data in the document and then index it in solr. But the approach I was looking is for large data, because the api I will be finally using will fetch a lot of data, it would not be possible to put that data in document and then inde

Solr Phonetic Search funny

2021-07-07 Thread Flowerday, Matthew J
Hi There I have just noticed a funny with DoubleMetaphone phonetic searching involving records with certain values in date fields causing a phonetic match to be returned for that record. I was searching for the word 'main' and I found results being returned with nothing being highlighted vi

Solr Phonetic Search funny

2021-07-07 Thread Flowerday, Matthew J
Hi There I have just noticed a funny with DoubleMetaphone phonetic searching involving records with certain values in date fields causing a phonetic match to be returned for that record. I was searching for the word 'main' and I found results being returned with nothing being highlighted vi

Re: Solr Phonetic Search funny

2021-07-07 Thread Alexandre Rafalovitch
Check if you have "schemaless" processing enabled. If yes, then it is most likely because schemaless pipeline converted your date to real date during preprocessong, then when the schema said "it is a text/string", the actual Date got serialized back into a string, using a local formatting (probabl

RE: Solr Phonetic Search funny

2021-07-07 Thread Flowerday, Matthew J
Hi Alex That sorted it! Thank you so much. On Solr 8.9.0 I had to set update.autoCreateFields to be false in the add-unknown-fields-to-the-schema below: And that sorted it. Many thanks again for your help! Matthew Matthew Flowerday | Consultant