Re: Leading zero were automatically removed from int data type field in solr so how to overcome this issue without using string data type

2023-07-04 Thread Mikhail Khludnev
Hello Shubham. Storing 45 takes _less than_ one byte, Storing "0045" about four. I think Solr just made a reasonable choice. On Tue, Jul 4, 2023 at 9:47 AM John Jackson wrote: > Hello All, > > > Recently I got a response but Whenever we are inserting this value in the > Database value is *0045*

Re: Leading zero were automatically removed from int data type field in solr so how to overcome this issue without using string data type

2023-07-04 Thread Alessandro Benedetti
Not sure why you cross-posted this, my answer stands the same: "As an integer 0045 or 045 or 45 is exactly the same value in the decimal positional format. I agree with Charlie, if you need it to be a string, then use a string. You can potentially just use the string as a stored value

Re: Error instantiating stemmer for language Hungarianfrom class null

2023-07-04 Thread Szűcs Roland
Hi Swan, Yes, I checked in solrconfig.xml and there was the definition of 9.4 I tried to modify it to 9.4.2 but it had no impact, I got the same error that "Error instantiating stemmer for language Hungarianfrom class null". I ran out of ideas about what goes wrong. The jar file is there. The j

boosting score by child document and returning only parents

2023-07-04 Thread nedyalko.zhe...@freelance.de.INVALID
Hello everyone, we are using Solr for about 2 years and now we want to extend our queries to improve the relevance. In our case we have parent and child documents and in some cases child documents could help us to improve the way we are sorting the results. The problem is we didn't find at the

Re: boosting score by child document and returning only parents

2023-07-04 Thread Mikhail Khludnev
Hello Ned. Make sure you check the guide first https://solr.apache.org/guide/solr/latest/query-guide/searching-nested-documents.html#parent-query-parser Note that Solr syntax is cumbersome. Basically you need to combine two queries parent and joined parents. q=+{!edismax qf='title^5 summary' v=$pq}