Re: DIH and SolrCloud

2022-04-01 Thread Andy Webb
hi James, Yes, we're using DIH with SolrCloud. We have a cron job on each host that interrogates the Collections API's overseerstatus and clusterstatus commands to figure out where to run deltas. It first determines if the current host is the overseer, and if so tells the shard1 leader for each co

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Andy Webb
hi Fiz, I think the BooleanSimilarityFactory is what you're looking for here - see https://solr.apache.org/guide/8_11/other-schema-elements.html#similarity and https://solr.apache.org/docs/8_11_1/solr-core/index.html?org/apache/solr/search/similarities/BooleanSimilarityFactory.html (I added this

Re: Is there a way to sort alphanumerically?

2022-11-10 Thread Andy Webb
hi Netta, How about splitting the values into two new string/pint fields and sorting on those in sequence? You can keep the original one for display purposes etc. HTH, Andy On Thu, 10 Nov 2022, 10:07 Netta Steinberg, wrote: > Hi all, > > I want to sort value alphabetically, but also numericall

Re: solr 8.11 attribute for deltaImportQuery

2023-12-01 Thread Andy Webb
hi Vince, The deltaQuery is used to fetch the IDs of any changed items - DIH then runs the deltaImportQuery to fetch the document for each of those IDs, using a WHERE clause of the form "WHERE id = '${dataimporter.delta.id}'. (You can make it use compound PKs if necessary - and you might want a de

Re: solr 8.11 attribute for deltaImportQuery

2023-12-02 Thread Andy Webb
ve a pointer when to use the variable dataimporter vs dih > '${dataimporter.delta.id}? I see some other online places use dih, when > doing dih.last_index_time > > Thanks, again. > > > On Fri, Dec 1, 2023 at 9:44 AM Andy Webb wrote: > > > hi Vince, > > > >