Commit Graph

97 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
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
Michael McCandless 86124e2667 small cleanups to TestGrouping to try to make it easier to understand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179203 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 12:52:23 +00:00
Martijn van Groningen 7cbcf2a2de LUCENE-3468: Replaced last() and remove() with pollLast() in FirstPassGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 18:40:22 +00:00
Christopher John Male 8d28270460 LUCENE-3470: Changed Field constructor signatures order to value, fieldtype
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176773 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:07:16 +00:00
Robert Muir e182c59b9d LUCENE-2215: add IndexSearcher.searchAfter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173423 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 23:26:09 +00:00
Martijn van Groningen 96c4bb7074 SOLR-2066: Added support for distributed grouping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171970 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 12:48:27 +00:00
Christopher John Male c0f05e7b37 LUCENE-3419: Added epsilons and fixed deprecated junit assertion usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:24:40 +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
Martijn van Groningen 0bc43983c4 SOLR-2665: Added post group faceting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154676 13f79535-47bb-0310-9956-ffa450edef68
2011-08-07 09:02:33 +00:00
Koji Sekiguchi 149d3de96d LUCENE-3129: fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152417 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 02:46:21 +00:00
Martijn van Groningen 198ec93b4e LUCENE-3097: Fixed documentation error. FixedBitSet is now used instead of OpenBitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150794 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 17:22:46 +00:00
Martijn van Groningen de074e9535 LUCENE-3097: Fixed documentation error. FixedBitSet is now used instead of OpenBitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150663 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 12:22:42 +00:00
Martijn van Groningen 708101f91e LUCENE-3097: Fix for build failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150613 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:01:56 +00:00
Martijn van Groningen 49075985fb LUCENE-3097: Added a new grouping collector that can be used to retrieve all most relevant documents per group.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150470 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 19:06:51 +00:00
Robert Muir 1c646d24c9 LUCENE-2048: omit positions but keep term freq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145594 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 13:31:22 +00:00
Michael McCandless a17df303e9 LUCENE-3280: add FixedBitSet and cutover most of Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145239 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 16:52:11 +00:00
Koji Sekiguchi 6b1e514df9 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145133 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:07:13 +00:00
Simon Willnauer b843dfe839 LUCENE-3239: Drop Java 5 support on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141501 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 12:14:36 +00:00
Yonik Seeley a7a7108ec8 SOLR-2564: add pollLast to deal with performance regression due to Java5/Java6 difference between modules and Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138735 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 05:05:54 +00:00
Christopher John Male f9ed2c19cd LUCENE-3219: Moved SortField types to Enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138276 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 01:48:45 +00:00
Uwe Schindler 1ca3506f6d LUCENE-3208: Missed change in grouping module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 19:03:35 +00:00
Michael McCandless fe7593efee LUCENE-3191: simplify API; return TopFieldDocs from TopDocs.merge if sort != null; add some missing compareValue to FC impls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 14:52:56 +00:00
Michael McCandless a1e74fd6c9 LUCENE-3191: add TopDocs.merge, TopGroups.merge, SearchGroup.merge, to make sharding easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136080 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:12:48 +00:00
Michael McCandless 0f91b38fae LUCENE-3129: fix false TestGrouping failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131401 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 13:58:37 +00:00
Michael McCandless 01c8469ab3 LUCENE-3129: BlockGroupingCollector wasn't tracking scores correctly; fang'd up TestGrouping to reveal the bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131158 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:31:51 +00:00
Michael McCandless 27d8311ffc rename to test to match the class it's testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131150 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:17:40 +00:00
Michael McCandless 526d6c937e LUCENE-3099: fix AllGroupsCollectorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130859 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 22:42:27 +00:00
Michael McCandless d1548ca30a LUCENE-3099: allow subclasses to determine the group value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130858 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 22:35:17 +00:00
Michael McCandless b680eaf1af LUCENE-3129: move CHANGES entry into 3.x not 3.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130663 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 17:18:50 +00:00
Michael McCandless 375c1abdbf LUCENE-3129: add single pass grouping collector, BlockGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130648 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 16:46:56 +00:00
Robert Muir fb4c480591 add missing LICENSE/NOTICE for modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130620 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 16:00:04 +00:00
Steven Rowe d4aaf0ce3d LUCENE-2995: specialize the dist-maven target for the new suggest module so that the generate-maven-artifacts target can succeed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1128121 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 23:32:56 +00:00
Michael McCandless 0775014bb9 LUCENE-3098: don't double-lookup the doc's ord
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1126761 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 21:31:57 +00:00
Koji Sekiguchi 49fe358760 use prettify in grouping package javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1126275 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 23:56:43 +00:00
Shai Erera fa5da66404 LUCENE-3102: add no-wrap ability to CachingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1124379 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 18:51:39 +00:00
Michael McCandless 92b00742ee fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1124298 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 15:17:51 +00:00
Shai Erera fa23344e40 LUCENE-3102: add factory method to CachingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1104683 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 04:00:48 +00:00
Michael McCandless 1c464e6dcc LUCENE-3098: add AllGroupsCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1104421 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 17:20:54 +00:00
Shai Erera f5fdea8dda LUCENE-3102: first cut - some refactoring, bug fixes, add test, move to core (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103872 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 20:29:10 +00:00
Shai Erera 680bb70e3a use assertArrayEquals instead of the deprecated version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103601 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 03:17:55 +00:00
Steven Rowe acb3c8be3a LUCENE-1421: Specialize the dist-maven target for the new grouping module, so that generate-maven-artifacts can succeed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 21:24:50 +00:00
Michael McCandless c7db217230 LUCENE-1421: moves CHANGES entry up to contrib's 3.x CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103155 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 16:44:04 +00:00
Michael McCandless a8993ca817 LUCENE-1421: fixup javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103150 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 16:17:58 +00:00
Robert Muir 4c85f799eb LUCENE-1421: make class public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103102 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 13:26:26 +00:00
Robert Muir 2b3e066518 LUCENE-1421: add workaround to unbreak the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103048 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 11:25:56 +00:00
Michael McCandless 9083cedb92 LUCENE-1421: factor out shared grouping module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103024 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 10:48:29 +00:00