Atri Sharma
f686167e71
LUCENE-8857: Introduce Custom Tiebreakers in TopDocs#merge ( #757 )
...
This commit introduces custom tiebreakers which allows users to
specify custom tiebreakers when ordering hits to return. A
default tiebreaker is introduced for tie breaking on shard index
first and then docID.
2019-07-02 20:35:18 +02:00
Alan Woodward
66c671ea80
LUCENE-8483: Scorer cannot have a null Weight
2018-09-07 11:41:47 +01:00
Alan Woodward
910a0231f6
LUCENE-6228: Add Scorable class and make LeafCollector.setScorer() take Scorable
2018-09-04 11:01:44 +01:00
Adrien Grand
61e89e3ca0
LUCENE-8431: Top-docs collectors now collect lower bounds of the hit count.
2018-07-30 16:38:05 +02:00
Adrien Grand
9ca053712a
LUCENE-8430: TopDocs.totalHits may now be a lower bound of the hit count.
2018-07-30 16:38:05 +02:00
Adrien Grand
55bfadbce1
LUCENE-8412: TopFieldCollector no longer takes a trackDocScores option.
2018-07-23 09:06:49 +02:00
Adrien Grand
7d8fc543f0
LUCENE-8411: Remove fillFields from TopFieldCollector factory methods.
2018-07-18 12:55:05 +02:00
Adrien Grand
331ccf3910
LUCENE-8405: Remove TopDocs.maxScore.
2018-07-18 08:38:57 +02:00
Alan Woodward
798d351034
LUCENE-8242: Deprecate createNormalizedWeight
2018-04-09 15:07:04 +01:00
Alan Woodward
446d38474e
TestGrouping.testRandom() requires BM25Similarity
2018-03-14 14:59:36 +00:00
Adrien Grand
4fb7e3d02c
LUCENE-8135: Implement block-max WAND.
2018-02-15 15:13:58 +01:00
Alan Woodward
6dd9dbf275
LUCENE-8010: GroupingSearchTest assumes longer fields = lower scores
2018-01-02 11:06:59 +00:00
Adrien Grand
deb7644912
LUCENE-8010: TestGrouping expects that longer fields produce lower scores.
2017-12-29 15:59:50 +01:00
Adrien Grand
4fc5a872de
LUCENE-4100: Faster disjunctions when the hit count is not needed.
2017-12-07 10:49:39 +01:00
Adrien Grand
812711416d
LUCENE-8059: Fold early termination support into TopFieldCollector.
2017-11-29 18:09:38 +01:00
Alan Woodward
183571c085
LUCENE-6278: Remove Scorer.freq()
2017-11-15 11:14:16 +00:00
Adrien Grand
44d1f1fe3f
LUCENE-7872: TopDocs.totalHits is now a long.
2017-06-21 09:55:02 +02:00
Alan Woodward
caf329717e
LUCENE-7701: Refactor grouping collectors
2017-04-10 11:10:18 +01:00
Adrien Grand
e80643e5a7
LUCENE-7753: Make fields static when possible.
2017-03-31 17:28:21 +02:00
Adrien Grand
53064e46dd
LUCENE-7754: Inner classes should be static whenever possible.
2017-03-28 15:35:04 +02:00
Alan Woodward
8c2ef3bc7f
LUCENE-7644: FieldComparatorSource.newComparator() doesn't need to throw IOException
...
This allos us to also remove the throws clause on SortField.getComparator(),
TopDocs.merge() and various Collector constructors
2017-01-18 19:17:19 +00:00
Alan Woodward
da30f21f5d
LUCENE-7617: Grouping collector API cleanup
2017-01-07 09:58:47 +00:00
Christine Poerschke
3366724fa0
Remove unused private ValueHolder class in TestGrouping.
2016-12-22 09:35:46 +00:00
Adrien Grand
fb088817eb
LUCENE-7479: SimpleText should directly implement the new doc values APIs.
2016-10-07 10:59:11 +02:00
Mike McCandless
f7aa200d40
LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements
2016-09-21 09:41:41 -04:00
Christine Poerschke
e0c45f400f
LUCENE-7356: SearchGroup tweaks (initialCapacity, size==0 vs. isEmpty)
2016-06-28 12:42:11 +01:00
Christine Poerschke
52f5c50246
LUCENE-7319: remove unused imports
2016-06-13 09:59:14 +01:00
Mike McCandless
7523ca1162
LUCENE-7086: move SlowCompositeReaderWrapper to misc module, and throw clear exc if you try to use in with points
...
Squashed commits:
commit e26b065c71388407bc6725256ca43d7bb30dee29
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:16:45 2016 -0500
simplify the checking for incoming points
commit b7254376dcb398c7739aab4544118bb4526961d5
Merge: 8ec82a0 d35d569
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 14:05:24 2016 -0500
Merge branch 'master' into slow_wrapper
Conflicts:
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCache.java
lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheReopen.java
commit 8ec82a0d9a0dd946d96da20962bb2ea95758edbe
Author: Mike McCandless <mikemccand@apache.org>
Date: Thu Mar 10 13:56:25 2016 -0500
LUCENE-7086: move SlowCompositeReaderWrapper to misc module
2016-03-10 16:08:59 -05:00
Uwe Schindler
0f43705788
LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back)
2016-02-04 23:02:50 +01:00
Shai Erera
813ca77250
LUCENE-7013: Move license header to top of file
2016-02-04 15:51:19 +02:00
Michael McCandless
6ba9164837
make this test less anal about scores so the new DFI sim won't cause false failures
2016-01-24 17:53:12 +01:00
Michael McCandless
c4244eb027
fix test bug abusing hit score
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726326 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:54:47 +00:00
Michael McCandless
0eeb910292
relax overly anal test scoring asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725389 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 23:25:21 +00:00
Michael McCandless
e127db28f9
fix test bug to not abuse hit scores for checking which hits were found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725386 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 23:19:26 +00:00
Michael McCandless
24c46305bd
LUCENE-6971: remove StorableField, StoredDocument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Michael McCandless
7da175b0b6
LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Adrien Grand
ddb3a97678
LUCENE-6919: Make Scorer expose an iterator instead of extending DocIdSetIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719081 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 13:43:50 +00:00
David Wayne Smiley
31b6cd6851
LUCENE-6912: Grouping's Collectors now calculate a needsScores() instead of always 'true'.
...
In core, CachingCollector should have always returned true when scores are cached (small bug).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718009 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 19:17:12 +00:00
David Wayne Smiley
0442747f05
LUCENE-6900: Grouping sortWithinGroup shouldn't be null; use Sort.RELEVANCE.
...
Enhanced related Solr side a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716569 13f79535-47bb-0310-9956-ffa450edef68
2015-11-26 04:56:47 +00:00
Adrien Grand
b3d191832c
LUCENE-6301: Removal of org.apache.lucene.Filter.
...
From a Lucene perspective Filter is gone. However it was still used for things
like DocSet and SolrConstantScoreQuery in Solr, so it has been moved to
the oas.search package for now, even though in the long term it would be nice
for Solr to move to the Query API entirely as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 12:15:07 +00:00
Christine Poerschke
7653c36bfa
LUCENE-6768: AbstractFirstPassGroupingCollector.groupSort private member is not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698418 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:16:38 +00:00
Uwe Schindler
0a54365ffa
LUCENE-6740: Reduce warnings emitted by javac #7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696098 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 21:05:57 +00:00
Adrien Grand
a9cc05ced1
LUCENE-6643: Make lucene/grouping Filter-free.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688591 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 08:41:07 +00:00
Adrien Grand
e4d88cab5c
LUCENE-6303: CachingWrapperFilter -> CachingWrapperQuery, FilterCache -> QueryCache and added caching to IndexSearcher.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 18:09:01 +00:00
Adrien Grand
2cd3fb807d
LUCENE-6286: Removed IndexSearcher methods that take a Filter object.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662059 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:43:10 +00:00
Alan Woodward
299c492dd3
LUCENE-6272: Scorer extends DocIdSetIterator directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661376 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 15:02:46 +00:00
Robert Muir
2f7a0e7a77
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658447 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 16:12:32 +00:00
Alan Woodward
e0ff51383c
LUCENE-6226: Revert for more API discussions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658375 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 12:02:03 +00:00
Alan Woodward
ef2141f6bf
LUCENE-6226: Query.createWeight() takes a param indicating which postings values should be read from the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658373 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:46:07 +00:00
Robert Muir
376256316b
LUCENE-4797: enable doclint html verification
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658040 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 10:10:34 +00:00