Re: Can Lucene be used as Rules Engine?

2020-01-23 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
> Now, I have another requirement which is reverse of above requirement. I might be wrong but that smells like luwac (available in 8.2.0) check out: https://issues.apache.org/jira/browse/LUCENE-8766 it should allow you to index the rules and then use the document as a query to retrieve the r

RE: Can Lucene be used as Rules Engine?

2020-01-23 Thread Karthick Sundaram
Luwak (stored query engine, allowing users to efficiently match a stream of documents against a large set of queries) seems to be the right candidate for my requirement. Thanks for pointing out this to me. I will dig more about this. Thanks, Kart -Original Message- From: Diego Ceccarel

Lucene 8 early termination

2020-01-23 Thread Wei
Hi, I am excited to see Lucene 8 introduced BlockMax WAND as a major speed improvement https://issues.apache.org/jira/browse/LUCENE-8135. My question is, how does it integrate with facet request, when the numFound won't be exact? I did some search but haven't found any documentation on this. Any

Re: Lucene 8 early termination

2020-01-23 Thread Uwe Schindler
Hi, There is no support with calculating facets, because the counts can't be optimized with wand or blockmax. The general recommendation is to execute facets/aggregations in separate Elasticsearch or Solr requests (e.g. using AJAX on your website). The display of search results would be instan