Commit Graph

17356 Commits

Author SHA1 Message Date
Martijn van Groningen be363e6d1c Make use of the diamond operator in grouping module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467946 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 11:50:08 +00:00
Martijn van Groningen 5de5540557 LUCENE-4774: Added FieldComparator that allows sorting parent documents based on fields on the child / nested document level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467914 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 09:34:07 +00:00
Shalin Shekhar Mangar 7114859f09 SOLR-3755: Treat no live SolrServers available as a recoverable error and count document to avoid spurious failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 05:39:21 +00:00
Shalin Shekhar Mangar f975a02658 SOLR-3755: Refactored ShardSplitTest and ChaosMonkeyShardSplitTest to share code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467799 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 16:14:21 +00:00
Uwe Schindler b1391bef1c Update link in SysReq page (the old one is still valid and redirects, but to specific)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467761 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 10:44:04 +00:00
Shalin Shekhar Mangar 763568f95f SOLR-3755: Added debugging code to test to track test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467728 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 06:42:42 +00:00
Chris M. Hostetter 8dd71d2dbe SOLR-4629: TestReplicationHandler improvements
- new testEmptyCommits
 - numFound assertion refactoring
 - reduce excessive test sleeping in rQuery
 - new "wait" option to make fetchindex block
 - refactor core reload test to wait for the startAt time to change




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467723 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 03:35:43 +00:00
Uwe Schindler e9c5d07a12 LUCENE-4930: Reduce contention in older/buggy JVMs when using AttributeSource#addAttribute() because java.lang.ref.ReferenceQueue#poll() is implemented using synchronization.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467579 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 09:28:35 +00:00
Uwe Schindler e3c3a9435b SOLR-4702: Add missing eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467495 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 22:24:59 +00:00
Robert Muir 5032ea0010 speed up tests to run faster locally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467436 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:48:30 +00:00
Erik Hatcher dfd50b7438 merge from r1467413
* SOLR-4680: Correct example spellcheck configuration's queryAnalyzerFieldType and
  use "text" field instead of narrower "name" field (ehatcher, Mark Bennett)

* SOLR-4702: Fix example /browse "Did you mean?" suggestion feature. (ehatcher, Mark Bennett)

(note, I don't have JDK7 available currently, but merge from 4x r1467413 looks good)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467416 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:01:18 +00:00
Robert Muir a79c85d338 LUCENE-4896: make PassageFormatter abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 18:25:34 +00:00
Adrien Grand 8d8c559a5c LUCENE-4928: Stored fields/Term vectors: put a hard limit on the maximum number of documents per chunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467208 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 08:42:34 +00:00
David Wayne Smiley 8617036c20 LUCENE-4895: Spatial Disjoint predicate generic implementation, and now used by RecursivePrefixTreeStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467057 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 19:06:53 +00:00
Robert Muir 53061c4bf8 LUCENE-4926: speed up disjunctionmaxscorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466997 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 17:43:17 +00:00
Robert Muir 4de12fe628 make rat pickier if the license header is screwed up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466962 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 16:53:04 +00:00
Robert Muir eaef2538cc spelling and formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466928 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 15:46:57 +00:00
Robert Muir 4726814c82 disable random exceptions on open where we open a reader and do checks (it will be reset next time thru the loop)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466888 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 13:43:24 +00:00
Michael McCandless c197d2d420 reduce number of fleeting threads created by this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466884 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 13:38:33 +00:00
Shalin Shekhar Mangar 4c0f248b19 SOLR-4695: Fix core admin SPLIT action to be useful with non-cloud setups. Fixing change log entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466858 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:51:49 +00:00
Shalin Shekhar Mangar a043c9a4d5 SOLR-4685: Fix core admin SPLIT action to be useful with non-cloud setups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:49:55 +00:00
Shai Erera 3829e75dcc TestSearcherTaxoManager should extend FacetTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466791 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 08:33:46 +00:00
Robert Muir 8cfcf2befd fix missing javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466750 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 01:34:38 +00:00
Adrien Grand ef2f6e8699 AssertionError(String,Throwable) doesn't exist in Java 6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466732 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 23:26:25 +00:00
Steven Rowe c91f22b0b0 SOLR-4658:
- Fix class name shortening issues, for SimilarityFactory's, FieldType's, and analysis factories: persisted class names' original forms are preserved in both shortened form (e.g. 'solr.TextField') and fully qualified form (e.g. 'org.apache.solr.schema.TextField')
- luceneMatchVersion on analysis factories is now persisted only when explicitly specified in the original; previously the default value was persisted when it was absent in the original
- Add MockTokenFilterFactory

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:36:19 +00:00
Michael McCandless faf6419c2b add random IOExc on open to a couple tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466716 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:20:47 +00:00
Michael McCandless ffa48dd967 fix test to stop if indexing threads hits an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466714 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:18:06 +00:00
Adrien Grand 24376b1bd7 LUCENE-4903: Add AssertingScorer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466709 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:13:13 +00:00
Michael McCandless 6e24f5adf4 LUCENE-4738: simplify DirectoryReader.indexExists; fix IndexWriter with CREATE to succeed on a corrupted index; add random IOExceptions to MockDirectoryWrapper.openInput/createOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466706 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:02:24 +00:00
Adrien Grand 67d433ca28 LUCENE-4925: Fix IndexSearcher.search(..., Sort, ...).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466694 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 21:30:12 +00:00
Mark Robert Miller f9d36d9fda SOLR-4699: The System admin handler should not assume a file system based data directory location.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466649 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 19:52:33 +00:00
Shai Erera 7e257c79fc LUCENE-4885: FacetsAccumulator did not set the correct value for FacetResult.numValidDescendants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466629 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 19:10:37 +00:00
Michael McCandless 8e6108528b LUCENE-3786: fix test to not rely on wall clock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466610 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 18:27:15 +00:00
Michael McCandless 2ef117e3cd LUCENE-4915: DrillSideways now allows drill down on fields that are not faceted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466580 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 17:34:32 +00:00
Michael McCandless 03694e7693 LUCENE-3786: add SearcherTaxonomyManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466548 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 16:25:22 +00:00
Robert Muir b2348c8494 LUCENE-4923: remove minShouldMatch/speed up DisjunctionSumScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466545 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 16:21:07 +00:00
Shalin Shekhar Mangar e27b3f24c0 SOLR-3755: Set update log to buffer before core is published
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466506 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 15:08:39 +00:00
Shai Erera a2524c00c2 LUCENE-4904: add descending sort order to NumericDocValuesSorter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466420 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 10:54:12 +00:00
Erick Erickson ae84b6a178 =SOLR-4663, SOLR-4347, SOLR-1905. Warn for bad core configs, persist transient cores correctly, do not persist implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466291 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 23:46:24 +00:00
Michael McCandless d8dd6c5d90 add javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466275 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 22:43:46 +00:00
Yonik Seeley b7e58e8efb tests: test negative numbers in TestRandomFaceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466152 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:41:55 +00:00
Yonik Seeley 1c112f238e SOLR-4581: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466149 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:37:47 +00:00
Shalin Shekhar Mangar 2715fc2910 SOLR-3755: Make ChaosMonkeyShardSplitTest more consistent with ShardSplitTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466093 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:59:35 +00:00
Shalin Shekhar Mangar 6a7ff16d94 SOLR-3755: Mark indexDir to be deleted while unloading sub-shard cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466090 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:57:00 +00:00
Yonik Seeley 2c34cb858e SOLR-4581: make float/double bits sort correctly for faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466078 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:19:27 +00:00
Shai Erera e2e3e2bfda LUCENE-4858: add EarlyTerminatingSortingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466047 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 14:19:53 +00:00
Robert Muir a6c5fe9f3a SOLR-4677: Improve Solrs use of spec version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466031 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:51:01 +00:00
Robert Muir 37a6474a8f LUCENE-4880: Fix MemoryIndex handling of empty string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466019 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:28:11 +00:00
Simon Willnauer 75c03eb548 LUCENE-4918: Highlighter closes the given IndexReader if QueryScorer is used with an external IndexReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465961 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 10:50:57 +00:00
Shalin Shekhar Mangar ccf99d3e6c SOLR-4530: DIH: Provide configuration to use Tika's IdentityHtmlMapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465879 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 04:40:12 +00:00