Commit Graph

27 Commits

Author SHA1 Message Date
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