Uwe Schindler
277c4a1a5d
Merged revision(s) 1208375 from lucene/dev/branches/branch_3x:
...
LUCENE-3609: Fix regression in BooleanFilter, introduced in Lucene 3.5, to correctly handle minShouldMatch behaviour of previous versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208381 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 11:08:45 +00:00
Robert Muir
7f766cf603
LUCENE-3590: nuke BytesRef.utf8ToChars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir
3b6da22aa7
LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Michael McCandless
9e27723b37
LUCENE-3562: stop caching thread-private TermsEnums in Terms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 17:35:42 +00:00
Robert Muir
873f199924
LUCENE-2621: move TermVectors,FieldInfos,SegmentInfos to codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:09:35 +00:00
Robert Muir
598920d7bd
LUCENE-3571: nuke IndexSearcher(Directory)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202657 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:19:41 +00:00
Michael McCandless
19889d6873
LUCENE-3454: rename IW.optimize -> IW.forceMerge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201036 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 19:50:51 +00:00
Michael McCandless
5200e8e38f
LUCENE-3443: port 3.x's FieldCache.getDocsWithField to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200480 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 19:13:50 +00:00
Robert Muir
7877d1ff07
LUCENE-2621: fix codec to own the filenames and merging of stored fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199779 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:52:33 +00:00
Erick Erickson
130ec534c5
Fix for SOLR-2829. False-positives on cache hits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 19:20:37 +00:00
Robert Muir
38fa222128
LUCENE-3559: remove IndexSearcher.maxDoc/docFreq
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197458 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:35:15 +00:00
Uwe Schindler
94f98ab7f3
LUCENE-1536: Filters can now be applied down-low, if their DocIdSet implements a new bits() method, returning all documents in a random access way
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 12:11:15 +00:00
Michael McCandless
bc84eb4df2
LUCENE-3522: fix NPE in TermsFilter when field is missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1185120 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 12:22:19 +00:00
Martijn van Groningen
70a7363fdb
LUCENE-3483: Move Function grouping collectors from Solr to grouping module.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179808 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 20:09:36 +00:00
Robert Muir
b4ff06f88e
LUCENE-3474: pass Bits to weight.scorer instead of weights pulling their own from the reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 01:03:35 +00:00
Christopher John Male
67c13bd2fe
LUCENE-3455: Renamed Analyzer.reusableTokenStream to Analyzer.tokenStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:26:54 +00:00
Robert Muir
dc4450207f
remove dead code: Document.getFields(String) cannot return null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176389 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:04:44 +00:00
Chris M. Hostetter
9bdaa028d6
SOLR-2757: min/max functions now take unlimited number of arguments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Uwe Schindler
f0ca4c49ef
LUCENE-3458: Change BooleanFilter to have only a single clauses ArrayList (so toString() works in order). It now behaves more like BooleanQuery, implements Iterable<FilterClause>, and allows adding Filters without creating FilterClause. Also cleaned up formatting and Test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:48:56 +00:00
Uwe Schindler
573ecd5d7b
LUCENE-3446: Fix NPE in BooleanFilter when DocIdSet/DocIdSetIterator is null. Converted code to FixedBitSet and simplified.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174380 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:49:00 +00:00
Robert Muir
cfaf91c739
LUCENE-2959: add state of the art ranking to Lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169470 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 15:47:21 +00:00
Michael McCandless
4dad0ba89f
LUCENE-2308: cutover to FieldType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162347 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:27:01 +00:00
Christopher John Male
993ce74121
LUCENE-3381: Sandboxed remaining contrib queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159846 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 04:57:58 +00:00
Christopher John Male
4f2fc58301
LUCENE-3271: Moved 'good' queries into queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158997 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 02:36:32 +00:00
Robert Muir
4af23c6d84
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147887 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 14:15:10 +00:00
Robert Muir
07bfe50eda
LUCENE-3326: MoreLikeThis reuses a reader after it has already closed it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 13:56:49 +00:00
Christopher John Male
6b700e1183
LUCENE-3271: Moved MoreLikeThis to queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 02:07:11 +00:00
Christopher John Male
f16f395a30
LUCENE-3284: Decoupled remaining module/contrib tests from QueryParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144566 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 01:11:18 +00:00
Robert Muir
ea67cd8b2c
LUCENE-2392: decouple vector space scoring from Query/Weight/Scorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144158 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 05:08:05 +00:00
Michael McCandless
b55eeb510d
LUCENE-3246: invert getDelDocs to getLiveDocs as pre-cursor for LUCENE-1536
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143415 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 13:54:38 +00:00
Christopher John Male
36330b50b4
LUCENE-3274: Collapsed common module into lucene core util, removed module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143234 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 00:28:34 +00:00
Yonik Seeley
06a3778905
SOLR-1932: add sumtotaltermfreq
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143091 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 15:06:24 +00:00
Yonik Seeley
3f5c0eca5b
SOLR-1932: add totaltermfreq to relevancy functions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142481 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 19:02:57 +00:00
Christopher John Male
08b8b9b789
LUCENE-3267: Consolidated Lucene core's function impls into new module. Removed remainder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141747 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 23:20:31 +00:00
Christopher John Male
2266c70ce4
LUCENE-3256: Consolidated CustomScoreQuery and BoostedQuery into Queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141366 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 02:31:22 +00:00
Christopher John Male
a993ae9032
LUCENE-3249: Moved FunctionQuery impls to new Queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:32:27 +00:00
Robert Muir
dc328b0714
add placeholder to stop eclipse whining
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 14:45:55 +00:00
Christopher John Male
b3f0ae9b7a
LUCENE-3240: Moved FunctionQuery, ValueSource and DocValues to new queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140379 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 23:45:18 +00:00