Hello,
I’m looking for the most efficient way to specify sorting on expressions when
they’re complex.
For example, suppose that there are fields a1, a2, ….., an and I need to sort
for the sum of them. In this case it’s “easy” using
sum(def(a1,0),def(a2,0),…,def(an,0)) as expression.
Now suppose
I suspect this is an XY problem, can you elaborate better what's the
original task to be solved?
It's unusual to use those sort expressions in Solr.
Maybe we can solve it differently, at indexing time or maybe using some
ranking models (like a linear one on learning to rank, but using not
learned
I'm running a single instance of Solr 9.4.0. I've noticed that when the solr
service is restarted, or when the server is rebooted and the service starts,
the indexed content seems to disappear from my solr cores and needs to be
re-indexed. This wasn't happening when running Solr 8.x, and I'm not su
Do you commit?
On Wed, Nov 1, 2023 at 1:40 PM Scott Hollenbeck
wrote:
>
> I'm running a single instance of Solr 9.4.0. I've noticed that when the solr
> service is restarted, or when the server is rebooted and the service starts,
> the indexed content seems to disappear from my solr cores and nee
I'm unsure. I queue the content for indexing and rebuild the indexes using the
Drupal "Search API Solr" module. It does appear that the module is aware of
concept, though:
https://www.drupal.org/node/2009804#server-index-status
-Original Message-
From: matthew sporleder
Sent: Wednesda
OK, I figured this out. When I created the cores, I incorrectly set the dataDir
property values. That put a bad dataDir value in the core.properties file
associated with each core, and so each time the server started it looked for
data in the wrong place. Removing the incorrect value and re-inde
Sorry, it took too long to get back to this one.
The search query "http://host:8983/solr/v9/select?&q=*&rows=10"; consistently
took ~500 ms. With "distrib=false" all the 96 shards have QTime 0-25 ms.
Does this mean aggregation of results from all the shards is taking ~475
ms? I also tried shards
edge n gram tokenizer could be useful . that would shift query time compute to
index time at the cost of bigger index size.
Sent from my iPhone
> On Nov 1, 2023, at 7:02 PM, rajani m wrote:
>
> Sorry, it took too long to get back to this one.
>
> The search query "http://host:8983/solr/v9/s