primitive integer field

2023-06-27 Thread Szűcs Roland
Hi Solr developers, I would like to have a price field in Solr with integer type. I need to store it. In addition to show it in the search result, the only role of this field is to use it as a range filter. My question is what fieldType should I use as a best practice. I have read that: "For gene

Re: primitive integer field

2023-06-27 Thread Ishan Chattopadhyaya
You can use an IntPointField with indexed=false, stored=false, docValues=true. On Tue, 27 Jun, 2023, 3:23 pm Szűcs Roland, wrote: > Hi Solr developers, > > I would like to have a price field in Solr with integer type. I need to > store it. In addition to show it in the search result, the only ro

Re: primitive integer field

2023-06-27 Thread Ishan Chattopadhyaya
You can also enable indexed=true to avail range queries using the BKD Trees. On Tue, 27 Jun, 2023, 5:54 pm Ishan Chattopadhyaya, < ichattopadhy...@gmail.com> wrote: > You can use an IntPointField with indexed=false, stored=false, > docValues=true. > > On Tue, 27 Jun, 2023, 3:23 pm Szűcs Roland,

Solr Cloud Backup Strategy and Data Corruption Prevention

2023-06-27 Thread Saksham Gupta
Hi Solr Developers, Reaching out to inquire about the best practices for implementing a backup strategy in Solr Cloud. We recently migrated from Solr standalone (solr6.5) to Solr 8.10, where we have a collection with data divided among 8 shards using implicit routing. Until now, we have maintained

Re: primitive integer field

2023-06-27 Thread Jan Høydahl
You need indexed="true" to enable the dimensional index structure supporting range filters. If you do not ever need sorting on the field I suppose you could disable docValues. Jan > 27. jun. 2023 kl. 11:51 skrev Szűcs Roland : > > Hi Solr developers, > > I would like to have a price field in

Re: primitive integer field

2023-06-27 Thread Ishan Chattopadhyaya
If you disable docValues, then you would need stored=true to return the values along with the search results. On Tue, 27 Jun, 2023, 6:06 pm Jan Høydahl, wrote: > You need indexed="true" to enable the dimensional index structure > supporting range filters. If you do not ever need sorting on the f

Re: primitive integer field

2023-06-27 Thread Szűcs Roland
I planned to use only docValues="true" for an intPointField. is It not enough for efficient faceting, range queries and sorting? Do I need indexed="true" in addition to the docsValues? Roland Ishan Chattopadhyaya ezt írta (időpont: 2023. jún. 27., K, 14:43): > If you disable docValues, then you

Re: primitive integer field

2023-06-27 Thread Houston Putman
Sorting and faceting use docValues for the fastest implementation, range queries use the index for the fastest implementation. In general I would advise to have everything (indexed, docValues, stored) turned on unless you have an explicit reason not to. - Houston On Tue, Jun 27, 2023 at 9:57 AM

Re: Limiting Backup IO

2023-06-27 Thread David Smiley
Here's a POC: https://github.com/apache/solr/pull/1729 ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Mon, Jun 26, 2023 at 1:53 PM Jason Gerlowski wrote: > Sounds like something that would be very useful for folks. > > I'm sure it'd be very depend

Re: Limiting Backup IO

2023-06-27 Thread David Smiley
Here's a POC: https://github.com/apache/solr/pull/1729 ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Mon, Jun 19, 2023 at 3:36 PM David Smiley wrote: > Has anyone mitigated the potentially large IO impact of doing a backup of > a large collection

Plugin Initializing failure for [schema.xml] fieldType

2023-06-27 Thread Szűcs Roland
Hey Solr comunity, I have a core named books. It is not using the managed schema but manually edited schema.xml. When I tried to access the admin on localhost, I got the following error: *books:* org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for co

Re: Solr Cloud Backup Strategy and Data Corruption Prevention

2023-06-27 Thread Saksham Gupta
Hi All, Any help regarding this problem. What is the standard practice to create backup on solr cloud? On Tue, Jun 27, 2023 at 5:57 PM Saksham Gupta wrote: > Hi Solr Developers, > Reaching out to inquire about the best practices for implementing a backup > strategy in Solr Cloud. We recently mig