LongDistanceFeatureQuery for DoublePoint

2022-03-22 Thread Puneeth Bikkumanla
Hello,
I was wondering if there is anything similar to the
LongDistanceFeatureQuery for DoublePoint. We are currently converting our
doubles into longs in order to use this feature but would like to switch
off of that. If nothing exists, are there any immediate challenges that
people foresee for implementing a "DoubleDistanceFeatureQuery" for
DoublePoint?


Re: FacetsCollector ScoreMode

2022-03-22 Thread Greg Miller
+1 to align this to the needs of keepScores. Good find!

On Mon, Mar 21, 2022 at 10:00 AM Adrien Grand  wrote:
>
> +1 to adjusting the ScoreMode based on keepScores.
>
> On Mon, Mar 21, 2022 at 5:47 PM Mike Drob  wrote:
> >
> > Hey all,
> >
> > I was looking into some performance issues and was a little confused about
> > one aspect of FacetsCollector - why does it always specify
> > ScoreMode.COMPLETE?
> >
> > Especially for the case where we are counting facets, without collecting
> > the documents, it seems like we should be able to get away without scoring.
> > I've tested it locally and it seems to work, but I'm wondering what nuance
> > I am missing.
> >
> > The default behaviour is keepScores == false, so I feel like we should be
> > able to adjust the score mode used based on that.
> >
> > Thanks,
> > Mike
>
>
>
> --
> Adrien
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



[ANNOUNCE] Apache Lucene 9.1.0 released

2022-03-22 Thread Adrien Grand
The Lucene PMC is pleased to announce the release of Apache Lucene 9.1.0.

Apache Lucene is a high-performance, full-featured search engine
library written entirely in Java. It is a technology suitable for
nearly any application that requires structured search, full-text
search, faceting, nearest-neighbor search across high-dimensionality
vectors, spell correction or query suggestions.

This release contains numerous bug fixes, optimizations, and
improvements, some of which are highlighted below. The release is
available for immediate download at:
  https://lucene.apache.org/core/downloads.html

Lucene 9.1.0 Release Highlights

New features

 - Lucene JARs are now proper Java modules, with module descriptors
and dependency information
 - Support for filtering in nearest-neighbor vector search
 - Support for intervals queries in the standard query syntax
 - A new token filter SpanishPluralStemFilter for precise stemming of
Spanish plurals

Optimizations

 - Up to 30% improvement in index throughput for high-dimensional vectors
 - Up to 10% faster nearest neighbor searches on high-dimensional vectors
 - Faster execution of "count" searches across different query types
 - Faster counting for taxonomy facets
 - Several other search speed-ups, including improvements to
PointRangeQuery, MultiRangeQuery, and CoveringRangeQuery

Other

 - The test framework is now a module, so all classes have been moved
from to org.apache.lucene.tests.* to avoid package name conflicts
 - Lucene now faithfully implements the HNSW algorithm for nearest
neighbor search by supporting multiple graph layers

… plus a number of helpful bug fixes!

Further details of changes are available in the change log available at:
  http://lucene.apache.org/core/9_1_0/changes/Changes.html
and the migration guide available at:
  https://lucene.apache.org/core/9_1_0/MIGRATE.html

Please report any feedback to the mailing lists
(http://lucene.apache.org/core/discussion.html)

-- 
Adrien

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org