Alan Woodward
910a0231f6
LUCENE-6228: Add Scorable class and make LeafCollector.setScorer() take Scorable
2018-09-04 11:01:44 +01:00
Alan Woodward
1acfca5ebc
LUCENE-8422: Add matches to IntervalQuery
2018-09-03 21:12:01 +01:00
Adrien Grand
116309160e
LUCENE-8060: ToChildBlockJoinQuery can't delegate getMaxScore but not advanceShallow.
2018-08-01 14:42:37 +02:00
Adrien Grand
99dbe93681
LUCENE-8060: IndexSearcher's search and searchAfter methods now only compute total hit counts accurately up to 1,000.
2018-08-01 09:01:21 +02: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
331ccf3910
LUCENE-8405: Remove TopDocs.maxScore.
2018-07-18 08:38:57 +02:00
Adrien Grand
d730c8b214
LUCENE-8060: Remove usage of TopDocs#totalHits that should really be IndexSearcher#count.
...
Many tests were written before we introduced IndexSearcher#count and used
`searcher.search(query, 1).totalHits` to get the number of matches of a query
rather than `searcher.count(query)`.
2018-07-17 14:32:02 +02:00
Alan Woodward
040a9601b1
LUCENE-8229: Add Weight.matches() to iterate over match positions
2018-04-11 09:43:27 +01:00
Alan Woodward
798d351034
LUCENE-8242: Deprecate createNormalizedWeight
2018-04-09 15:07:04 +01:00
Adrien Grand
4fb7e3d02c
LUCENE-8135: Implement block-max WAND.
2018-02-15 15:13:58 +01:00
Adrien Grand
aa157f1833
LUCENE-8152: Improve consumption of doc-value iterators.
2018-02-12 14:49:49 +01:00
Adrien Grand
838c604b76
LUCENE-8119: Remove SimScorer.maxScore(float maxFreq).
2018-01-09 14:42:16 +01:00
Alan Woodward
c1030eeb74
LUCENE-8012: Explanation takes Number rather than float
2018-01-02 11:06:59 +00:00
Adrien Grand
4fc5a872de
LUCENE-4100: Faster disjunctions when the hit count is not needed.
2017-12-07 10:49:39 +01:00
Jim Ferenczi
a06e685642
LUCENE-8062: GlobalOrdinalsQuery is no longer eligible for caching
2017-11-28 14:56:28 +01:00
Alan Woodward
183571c085
LUCENE-6278: Remove Scorer.freq()
2017-11-15 11:14:16 +00:00
Alan Woodward
276e317e94
LUCENE-8042: Add SegmentCachable interface
2017-11-10 12:17:50 +00:00
Alan Woodward
a886a001a4
LUCENE-8017: Add Weight.getCacheHelper()
2017-11-03 10:40:14 +00:00
Robert Muir
42717d5f4b
LUCENE-7997: More sanity testing of similarities
2017-10-24 22:48:04 -04:00
Adrien Grand
9c83d025e4
LUCENE-7897: IndexOrDocValuesQuery now requires the range cost to be more than 8x greater than the cost of the lead iterator in order to use doc values.
2017-08-10 12:10:44 +02:00
Mike McCandless
3df97d3f0c
LUCENE-7905: optimize how OrdinalMap builds its map
2017-07-14 11:01:57 -04:00
Mike McCandless
6abff51ede
LUCENE-7899: rename FieldValueQuery to DocValuesFieldExistsQuery
2017-07-05 10:50:34 -04:00
Mikhail Khludnev
bb2d6c128f
LUCENE-7871: fixing CHANGES.txt, mark it as Lucene 7.0 bug fix.
2017-07-03 15:53:57 +03:00
Mikhail Khludnev
706d201815
LUCENE-7871: fix false positive match in BlockJoinSelector when children have no value.
...
- introducing BlockJoinSelector.wrap methods accepting children as DISI.
- extracting ToParentDocValues
2017-06-20 16:31:09 +03:00
Mike McCandless
58105a203a
LUCENE-7868: use multiple threads to concurrently resolve deletes and DV udpates
2017-06-21 13:47:15 -04:00
Martijn van Groningen
09b0eee5bb
LUCENE-7571: Take into account float precision loss when generating unique values.
2017-06-19 11:41:59 +02:00
Martijn van Groningen
65bfa48770
LUCENE-7810: Fix numeric join equals test failure.
...
Numeric join equals isn't based on the index reader, but rather on the collected join values.
In a test failure during the second indexing round no new join values were indexed causing the equals assertion to fail.
2017-05-24 09:50:36 +02:00
Martijn van Groningen
85c1319c76
LUCENE-7810: Fix equals() and hashCode() methods of several join queries.
2017-05-23 10:45:54 +02:00
Adrien Grand
3bb4662e63
LUCENE-7833: Fix score computation with ToParentBlockJoinQuery and ScoreMode.MAX.
2017-05-19 08:28:37 +02:00
Mikhail Khludnev
e96dc4f21c
LUCENE-7798: Add .equals and .hashCode to ToParentBlockJoinSortField
2017-04-29 13:55:11 +03:00
Adrien Grand
edafcbad14
LUCENE-7755: Join queries should not reference IndexReaders.
2017-03-30 15:11:52 +02:00
Mike McCandless
e7b87f5b79
LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs
2017-03-15 06:08:10 -04:00
Adrien Grand
df6f830723
LUCENE-7410: Make cache keys and close listeners less trappy.
2017-02-28 14:46:45 +01:00
Adrien Grand
c2f061d7cb
LUCENE-7685: Remove equals/rewrite hacks from block join queries.
2017-02-16 14:57:07 +01:00
Martijn van Groningen
e5dbfa4c52
LUCENE-7665: Remove grouping dependency from the join module.
2017-01-30 17:38:45 +01:00
Christine Poerschke
bb9b423cec
LUCENE-7666: Fix typos in lucene-join package info javadoc. (Tom Saleeba via Christine Poerschke)
2017-01-30 10:30:37 +00:00
Adrien Grand
9d5dc0cf57
LUCENE-7654: To-parent block joins should implement two-phase iteration.
2017-01-30 10:46:22 +01:00
Martijn van Groningen
e327efb676
LUCENE-6959: Removed ToParentBlockJoinCollector in favour of ParentChildrenBlockJoinQuery, that can return the matching children documents per parent document.
...
This query should be executed for each matching parent document after the main query has been executed.
2017-01-29 21:56:13 +01: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
Adrien Grand
9aca4c9d56
LUCENE-7462: Give doc values APIs an `advanceExact` method.
2016-10-24 10:51:23 +02:00
Dawid Weiss
a19ec194d2
LUCENE-7513: Update to randomizedtesting 2.4.0.
2016-10-21 11:14:37 +02:00
Mike McCandless
b78f2219f4
LUCENE-7497: add test case
2016-10-18 14:02:40 -04:00
Adrien Grand
c22725f0b5
LUCENE-7494: Give points a per-field API.
2016-10-18 10:14:27 +02:00
Adrien Grand
ea1212232d
LUCENE-7495: Fix doc values iterators' assertions in advance().
2016-10-14 14:38:32 +02: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
001a3ca55b
LUCENE-7407: speed up iterating norms a bit by having default codec implement the iterator directly
2016-10-05 14:18:55 -04:00
Mikhail Khludnev
4ab8e9c262
LUCENE-7452: block join queries' exception message to suggest how to
...
find a doc which violate orthogonality restriction.
2016-09-24 22:31:58 +03: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
Robert Muir
5347cc8ea7
LUCENE-7418: remove deprecated legacy numerics from join/ and queryparser/
2016-08-22 08:39:13 -04:00
Robert Muir
105c7eae87
LUCENE-7413: move legacy numeric support to backwards module
2016-08-17 09:28:45 -04:00
Steve Rowe
51d4af6859
LUCENE-7013: add licence header position checker to -validate-source-patterns, and fix the violations it found
2016-07-13 13:21:36 -04:00
Christine Poerschke
15e8719b8a
LUCENE-7372: Factor out an org.apache.lucene.search.FilterWeight class.
2016-07-13 16:04:24 +01:00
Adrien Grand
5def78ba10
LUCENE-7368: Remove queryNorm.
2016-07-12 14:38:36 +02:00
Mike McCandless
cbbc505268
LUCENE-7276: MatchNoDocsQuery now inclues an optional reason for why it was used
2016-07-08 13:07:54 -04:00
Christine Poerschke
52f5c50246
LUCENE-7319: remove unused imports
2016-06-13 09:59:14 +01:00
Adrien Grand
f85dc0fef2
LUCENE-7297: Clean up ArrayUtil.
2016-05-25 16:48:41 +02:00
Martijn van Groningen
d29ab1e812
LUCENE-7206: Improve the ToParentBlockJoinQuery's explain by including the explain of the best matching child doc
2016-05-25 15:24:17 +02:00
Dawid Weiss
e44509f2df
LUCENE-7277: Make Query.hashCode and Query.equals abstract.
2016-05-24 10:33:15 +02:00
Martijn van Groningen
d7867b80f8
LUCENE-7187: Block join queries' Weight#extractTerms(...) implementations should delegate to the wrapped weight.
2016-04-11 09:20:39 +02:00
Martijn van Groningen
2babaf8c3d
LUCENE-7095: Add point values support to the numeric field query time join
2016-03-25 17:23:03 +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
Mike McCandless
dee8b5e40a
don't use slow composite wrapper in these tests
2016-03-09 14:11:04 -05:00
Robert Muir
58623e00cc
LUCENE-7079: add newSetQuery(String, Collection) to primitive Point types
2016-03-09 11:25:37 -05:00
Robert Muir
4cc9ad44df
LUCENE-7075: remove legacy numericutils usage from test.
2016-03-08 08:41:24 -05:00
Martijn van Groningen
b9cc15309c
LUCENE-7065: Fix the explain for the global ordinals join query. Before the
...
explain would also indicate that non matching documents would match.
On top of that with score mode average, the explain would fail with a NPE.
2016-03-04 18:23:00 +01:00
Robert Muir
3ffeccab7e
LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils
2016-03-03 21:52:12 -05:00
Uwe Schindler
f48d23cd14
LUCENE-7053: Remove custom comparators from BytesRef class and solely use natural byte[] comparator throughout codebase. It also replaces the natural comparator in ArrayUtil by Java 8's Comparator#naturalOrder().
2016-02-29 09:25:55 +01:00
Mike McCandless
126ac9a5fe
BytesRefHash.sort always sorts in unicode order
2016-02-27 10:26:20 -05:00
Robert Muir
189e985b5c
LUCENE-7037: Switch all exceptions tests to expectThrows()
2016-02-19 12:07:47 -05:00
Uwe Schindler
74421d729b
LUCENE-7028: Remove duplicate method in LegacyNumericUtils
2016-02-14 00:49:21 +01: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
40d290ee84
LUCENE-6980: default applyDeletes to true when opening NRT readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725160 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 00:43:44 +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
Mikhail Khludnev
2897b29d53
SOLR-5743: introducing BlockJoinFacet*Component which are acting on child.facet.field request parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721644 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 17:04:56 +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
Mikhail Khludnev
bc51c86b4b
LUCENE-5868: query-time join for numerics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718443 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 18:56:46 +00:00
Adrien Grand
0ed54b3105
LUCENE-6276: Added TwoPhaseIterator.matchCost().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714261 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 20:08:01 +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
Adrien Grand
962313b83b
LUCENE-6590: Replace Query.getBoost, setBoost and clone with a new BoostQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701621 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 13:34:46 +00:00
Chris M. Hostetter
ef09fe95d5
LUCENE-6755: fix test bug and increase num of docs to improve chances of random query matching
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696867 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 22:24:15 +00:00
Chris M. Hostetter
43c9c6d834
LUCENE-6755: more tests of ToChildBlockJoinScorer.advance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696834 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 18:10:05 +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
0b087937c1
LUCENE-6718: JoinUtil.createJoinQuery failed to rewrite queries before creating a Weight.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694140 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 07:18:32 +00:00
Mikhail Khludnev
83520603c1
SOLR-5882: introducing local param {!parent score=..}..
...
fixing ScoreMode.Min for ToParentBlockJoinQuery
fixing ScoreMode parsing exception in ScoreJoinQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693926 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:14:52 +00:00
Michael McCandless
4eec6fa204
FilterScorer's wrapped Scorer input should not be null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690928 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:32:47 +00:00
Adrien Grand
ac8c26c8e0
LUCENE-6645: Optimized DocIdSet building for the "many small postings lists" case.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690026 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 08:39:00 +00:00
Adrien Grand
0fe4cb474a
LUCENE-6589: Fix test bug.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689649 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 12:49:32 +00:00
Adrien Grand
cf0a0bf33f
LUCENE-6589: Add CheckJoinIndex to validate index structure for joins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689637 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 12:18:44 +00:00
Adrien Grand
2919e13adc
LUCENE-6649: Remove dependency of lucene/join on Filter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 15:48:28 +00:00
Adrien Grand
76bc05fe3f
LUCENE-6554: Add missing javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688610 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 09:37:29 +00:00
Adrien Grand
ef17416494
LUCENE-6554: Removed illegal ToBlockJoinFieldComparator in favor of doc values selectors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688599 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 08:54:21 +00:00
Adrien Grand
d671dd8d89
LUCENE-6553: Simplify how live docs are applied.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687524 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 13:59:19 +00:00
Adrien Grand
6e0d10d257
LUCENE-6588: Fixed how ToChildBlockJoinQuery deals with acceptDocs.
...
Close #155
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687049 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 13:14:50 +00:00
Adrien Grand
c0fd50b2ed
Fix TestBlockJoinValidation expectations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686813 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 08:43:17 +00:00
Adrien Grand
33db301f5f
LUCENE-6593: Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686485 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:17:15 +00:00
Adrien Grand
35c0ff0ec6
LUCENE-6583: Remove FilteredQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand
4aafacfbef
LUCENE-6570: Make BooleanQuery immutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Adrien Grand
c129a9080b
LUCENE-6526: Asserting(Query|Weight|Scorer) now ensure scores are not computed if they are not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683734 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 12:18:12 +00:00
Martijn van Groningen
3111aeab0e
LUCENE-6472: Added min and max document options to global ordinal join
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678989 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 15:57:08 +00:00
Adrien Grand
1422c4607f
LUCENE-6448: Make Filter a better Query citizen.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675199 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 20:56:14 +00:00
Adrien Grand
c6821e1a19
LUCENE-6446: Simplified Explanation API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Martijn van Groningen
07beb24d93
LUCENE-6389: Added ScoreMode.Min that aggregates the lowest child score to the parent hit.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674622 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 13:14:13 +00:00
Adrien Grand
f4c0546567
LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Michael McCandless
c08d81cc39
LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Martijn van Groningen
eaf4659bfe
LUCENE-6407: Simplify random tests and open one searcher per test round.
...
Fixes test bug where expected top docs and actual top docs are inconsistent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672110 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:51:24 +00:00
Martijn van Groningen
344ce28214
LUCENE-6352: Improved tests for global ordinal join
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671774 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 09:37:20 +00:00
Martijn van Groningen
c4d9d6b3f1
LUCENE-6352: Added a new query time join to the join module that uses global ordinals, which is faster for subsequent joins between reopens.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670990 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 22:00:26 +00:00
Robert Muir
f64e74c0c7
LUCENE-6310: FilterScorer supports two-phase always, adds two-phase support to some long-tail scorers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663095 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 13:24:59 +00:00
Robert Muir
cd66868e93
simplify test to be debuggable when it doesnt get expected exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662976 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:46:09 +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
544f5bf1e7
LUCENE-6300: Remove multi-term filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662682 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:12:02 +00:00
Adrien Grand
822068e56b
LUCENE-6290: Make the filter -> query migration less trappy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662203 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 12:07:58 +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
69300ee467
LUCENE-6246: Fix DocsEnum -> PostingsEnum transition (phase 1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 12:46:55 +00:00
Ryan Ernst
1dc2cbf25e
LUCENE-6245: Force Filter subclasses to implement toString API from Query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659982 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 19:07:30 +00:00
Robert Muir
c385668a1f
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658464 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 16:51:43 +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
Adrien Grand
e4436aa7fe
LUCENE-6220: Move needsScores to Query.createWeight.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657874 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 15:54:53 +00:00
Alan Woodward
c13216934c
LUCENE-4524: Replace DocsEnum and DocsAndPositionsEnum with PostingsEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657800 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 13:25:22 +00:00
Robert Muir
010e352f60
LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Adrien Grand
457e70ab94
LUCENE-6179: Disallow out-of-order scoring.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:35:20 +00:00
Adrien Grand
cdb651976e
LUCENE-5702: Move comparators to a per-leaf API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649818 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 15:03:19 +00:00
Adrien Grand
972e64f7c7
LUCENE-6148: Accountable.getChildResources returns a Collection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649074 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 16:25:16 +00:00
Adrien Grand
64d933d34d
LUCENE-5873: BJQ: Throw an error if the top-level filter is not in the child space instead of just asserting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649071 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 16:10:43 +00:00
Robert Muir
765403b2af
LUCENE-6104: simplify internals of Lucene50NormsProducer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645711 13f79535-47bb-0310-9956-ffa450edef68
2014-12-15 18:03:05 +00:00
Adrien Grand
86a6c37b47
LUCENE-6077: Add a filter cache.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642183 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 16:23:44 +00:00
Robert Muir
bf6287116a
LUCENE-6064: throw exception instead of doing nothing, when sorting/grouping etc on misconfigured field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640464 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 02:09:25 +00:00
Michael McCandless
8af67c9a95
LUCENE-5929: highlight terms from block join queries too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639371 13f79535-47bb-0310-9956-ffa450edef68
2014-11-13 15:37:28 +00:00
Adrien Grand
347e4447eb
LUCENE-6025: Add BitSet.prevSetBit and cut over the join module to this API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635531 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 16:06:17 +00:00
Adrien Grand
c179a9bf94
LUCENE-6021: Make SparseFixedBitSet and FixedBitSet share a common "BitSet" interface.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634012 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 07:32:19 +00:00
Adrien Grand
9e9812cbb0
LUCENE-5441: Decouple (Sparse)FixedBitSet from DocIdSet.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633628 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 14:19:19 +00:00
Steven Rowe
38f182593a
LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Ryan Ernst
85bf318173
LUCENE-5569: *AtomicReader/AtomicReaderContext have been renamed to *LeafReader/LeafReaderContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627178 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 23:51:55 +00:00
Robert Muir
704b3fb091
LUCENE-5858: remove remaining unnecessary SuppressCodecs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 15:01:49 +00:00
Robert Muir
5afc7cda1f
LUCENE-5858: remove some test cruft
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621764 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 13:16:50 +00:00
Adrien Grand
94d1b7f5a6
LUCENE-5864: Split BytesRef into BytesRef and BytesRefBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617493 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:46:45 +00:00
Ryan Ernst
872bd9145c
LUCENE-5871: Remove Version from IndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Robert Muir
3f4b2b472f
LUCENE-5859: remove Version param from LuceneTestCase.newIndexWriterConfig, the grand sum of 2 tests making use of it can use the 3-arg version and reduce the noise everywhere else
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:20:24 +00:00
Robert Muir
2080ddc885
LUCENE-5593: speed up javadocs generation in build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Michael McCandless
be3cca1e44
LUCENE-5752: renames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603012 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 22:23:11 +00:00
Adrien Grand
6f7949c940
LUCENE-5695: DocIdSet implements Accountable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602387 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 11:39:43 +00:00
Robert Muir
8f267c8560
LUCENE-5703: BinaryDocValues producers don't allocate or copy bytes on each access anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600688 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:54:49 +00:00
Michael McCandless
fffcb1b3f4
LUCENE-5693, LUCENE-5675: also decouple this bug fix (move to LUCENE-5693) in ToParentBJQ.explain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1596783 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 09:08:54 +00:00
Michael McCandless
d6968c3924
LUCENE-5675: delete docs on flush
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1596091 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:59:48 +00:00