Commit Graph

94 Commits

Author SHA1 Message Date
Martijn van Groningen 89b55566d8 LUCENE-3778: Added a grouping utility class that makes it easier to use result grouping for pure Lucene apps.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303871 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 16:15:42 +00:00
Robert Muir 86c2da0eac happy new year
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303828 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 15:21:17 +00:00
Martijn van Groningen 1d642b3cd7 LUCENE-3444: Added a second pass grouping collector that keeps track of distinct values for a specified field for the top N group.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303370 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 12:41:06 +00:00
Martijn van Groningen 7c4c592e05 LUCENE-3890: Fixed NPE for grouped faceting on multi-valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303002 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 17:05:05 +00:00
Martijn van Groningen 9a15b3f449 Rename docvalues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301238 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:09:05 +00:00
Martijn van Groningen aa83c232a7 Rename docValues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301236 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:07:50 +00:00
Martijn van Groningen 9276e43685 Rename docvalues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301234 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:06:22 +00:00
Martijn van Groningen 2e132e006a Rename docValues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301231 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:03:21 +00:00
Martijn van Groningen 308974a36d LUCENE-3778: Fixed build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300932 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 11:42:32 +00:00
Martijn van Groningen 27fedb096b LUCENE-3856: Added docvalues based grouped facet collector.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300860 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 09:31:06 +00:00
Martijn van Groningen f164629353 Fixed jdoc issue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298413 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 14:41:32 +00:00
Martijn van Groningen 1c91c60468 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298395 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 13:59:33 +00:00
Martijn van Groningen 00348bbda6 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298356 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 11:06:44 +00:00
Martijn van Groningen b2fb90b629 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298350 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 10:55:20 +00:00
Martijn van Groningen b00a81dc47 LUCENE-3850: Fixed another compilation error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298342 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 10:25:32 +00:00
Martijn van Groningen c83f75f6ac LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298336 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 10:10:56 +00:00
Martijn van Groningen c22fb58a9d LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298332 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:56:41 +00:00
Martijn van Groningen 37ae8ac167 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298329 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:46:37 +00:00
Martijn van Groningen 5f3053fa09 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298315 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:23:28 +00:00
Martijn van Groningen 540967c9b4 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 08:43:23 +00:00
Martijn van Groningen 4a47b25976 LUCENE-3850: Removed some of the rawtypes compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298297 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 08:40:58 +00:00
Dawid Weiss a42943db90 Steve: this should be a better solution than @Ignore? Maven won't run abstract classes and this seems more consistent with the declared class purpose...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298287 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 07:57:51 +00:00
Steven Rowe 83654b8431 LUCENE-3802: Add @Ignore annotation to AbstractGroupingTestCase to allow Maven Surefire to succeed (otherwise, Maven fails with error "No runnable methods!")
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298240 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 00:36:22 +00:00
Martijn van Groningen 64f0ebe2b6 LUCENE-3802: Support for grouped faceting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298144 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 21:57:48 +00:00
Uwe Schindler 3d8b22ffd0 LUCENE-3850: Fix rawtypes warnings for Java 7 compiler (#2)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297162 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 18:48:04 +00:00
Michael McCandless 9ab8f9b83c LUCENE-3824: don't do pointless by-value cmp in TermOrdVal/DocValuesComparator.setBottom
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294856 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 22:20:18 +00:00
Michael McCandless 854c9ac452 LUCENE-3777: separate out Int/Long/Float/DoubleField to reduce traps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245583 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:46:35 +00:00
Steven Rowe eb0ab3d392 LUCENE-3753: Restructure the Lucene build system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Uwe Schindler 1648670485 LUCENE-2858: Fix remaining TODO: Re-add FieldCache insanity checking, got lost as tricky to implement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238112 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:33:19 +00:00
Uwe Schindler 57e33cf135 LUCENE-2858: fix remaining nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238050 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 22:31:51 +00:00
Uwe Schindler bfa1dec595 LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Uwe Schindler 2d4c738067 LUCENE-2858: Rename AtomicIndexReader -> AtomicReader, CompositeIndexReader -> CompositeReader. Contexts not yet changed!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237508 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:50:54 +00:00
Robert Muir 4ef047b892 LUCENE-2858: fix grouping module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:24:30 +00:00
Robert Muir dea4b911da LUCENE-3646: throw exception for fieldcache on non-atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:34:43 +00:00
Martijn van Groningen 6d4f6b0978 - Removed changes.txt from grouping module and moved the entries to the changes.txt in Lucene contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232227 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 23:30:16 +00:00
Michael McCandless 9de01b56eb LUCENE-3453: simplify DocValues/Field API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231791 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:05:13 +00:00
Grant Ingersoll f42b2ffd63 SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Robert Muir 701000cf27 LUCENE-3622: function DocValues -> FunctionValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:33:26 +00:00
Robert Muir b15b981081 LUCENE-3622: merge trunk (1212830:1213323)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213405 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:13:02 +00:00
Robert Muir 3899e18ca3 LUCENE-3640: Remove IndexSearcher.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Robert Muir 4387ff6161 LUCENE-3622: fix naming issues, IDV->DV, ValueType -> DV.Type, move all DV user-facing api into .index, TypePromoter pkg-private, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212506 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:43:45 +00:00
Martijn van Groningen b3a07fad1f LUCENE-3496: Replaced generating simple string with realistic unicode strings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211993 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 17:18:19 +00:00
Robert Muir 233a289a66 LUCENE-3590: cut over new DV grouping collectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206156 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:28:43 +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
Martijn van Groningen 9dd60fe58f LUCENE-3496: Support grouping by IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:07:59 +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 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
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