Commit Graph

18074 Commits

Author SHA1 Message Date
Uwe Schindler fc2d83400b LUCENE-5207: Remove stupidity... :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522888 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:06:26 +00:00
Uwe Schindler d586a56a3b LUCENE-5207: Limit the maximum class name length
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522877 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:27:26 +00:00
Uwe Schindler f05d6b11a8 LUCENE-5207: Create the class name of generated classes from the parsed text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522873 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:22:42 +00:00
Uwe Schindler dab0325b9d LUCENE-5207: Remove classloader constructor, because it makes no sense to use any other classloader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522858 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 10:45:37 +00:00
Uwe Schindler 5fcf69f8df LUCENE-5207: Remove the crazy internal signature notation and use ASM Type to generate them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522850 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 10:21:39 +00:00
Uwe Schindler ae056bf735 LUCENE-5207: Simplifications
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522839 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:52:30 +00:00
Uwe Schindler 42e1cb7ee0 LUCENE-5207: Add missing test for atan2 including funny values (+/-0). The original patch had a bug with this method, because the arity was wrong.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522822 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:04:46 +00:00
Uwe Schindler a62a5ce2ad LUCENE-5207: More strict checks for invalid method signatures (currently only double is accepted as parameter or return type). The method must be static, too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522813 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:37:10 +00:00
Uwe Schindler 75382a1444 LUCENE-5207: Cleanup JavascriptFunction class to use reflection and type-safe checking (to be extended)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522805 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:00:46 +00:00
Robert Muir b9b88ea26a LUCENE-5207: simplify tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522798 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 07:18:12 +00:00
Robert Muir 8d84d3b5ff LUCENE-5207: maven/idea config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522788 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 06:33:33 +00:00
Robert Muir 5d3202793f LUCENE-5207: sync up syntax docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522783 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 05:41:39 +00:00
Robert Muir b29b3e5f3f LUCENE-5207: minor docs and API cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522781 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 05:21:27 +00:00
Robert Muir 0603e66d7d LUCENE-5207: fix broken javadoc link
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522772 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:41:43 +00:00
Robert Muir 9c2cafdeb1 LUCENE-5207: only depends on antlr-runtime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522771 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:32:59 +00:00
Robert Muir 2012823708 LUCENE-5207: replaceregexp tabs with spaces in generated parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522770 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:28:53 +00:00
Robert Muir f3947ba910 LUCENE-5207: eol-style native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522769 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:23:08 +00:00
Robert Muir 5f5d39eb18 LUCENE-5207: setup svn:ignores and so on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522768 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:21:53 +00:00
Robert Muir c73f175c71 LUCENE-5207: initial patch from ryan
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522767 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:11:17 +00:00
Robert Muir bd94c46203 create branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522766 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 03:10:31 +00:00
Michael McCandless 1a9067d671 LUCENE-5206: move CHANGES entry to 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522737 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 21:31:12 +00:00
Michael McCandless 81c0b1bf4e LUCENE-5206: fix javadocs to clarify FuzzyQuery's unexpected behaviour on short terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522733 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 21:26:29 +00:00
Michael McCandless ea178175bc LUCENE-4998: fix a few places to pass IOContext.READONCE instead of IOContext.READ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522722 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 20:45:53 +00:00
Mark Robert Miller c4eb440bf8 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522701 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 19:28:32 +00:00
Mark Robert Miller 942dabba8c SOLR-4816: Don't create "loads" of LBHttpSolrServer's, shutdown LBHttpSolrServer when appropriate, get collection from nonRoutableParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522684 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:51:31 +00:00
Yonik Seeley f2b3d010b3 SOLR-5148: optimization - lazy create child doc list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522680 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:44:09 +00:00
Michael McCandless 534a9f3080 LUCENE-5133: allow highlight to Object for AnalyzingInfixSuggester for advanced use cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522667 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:14:27 +00:00
Adrien Grand d06ba3caaf LUCENE-5204: Make Directory easier to wrap.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522661 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 16:59:34 +00:00
Michael McCandless c3ccfbe8d1 LUCENE-4906: PostingsHighlighter: add expert API to render highlights to Object
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522619 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 15:34:55 +00:00
Adrien Grand 980411d93d Add version 4.6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522507 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 09:40:24 +00:00
Dawid Weiss 047a650004 SOLR-5219: follow-up code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522472 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:49:23 +00:00
Shalin Shekhar Mangar 247142e18c SOLR-5233: The deleteshard collections API doesn't wait for cluster state to update, can fail if some nodes of the deleted shard were down and had incorrect logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522463 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:14:10 +00:00
Dawid Weiss 098f8b37f4 SOLR-5219: always forget about eol-style...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521979 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 18:46:26 +00:00
Dawid Weiss 7a79894528 SOLR-5219: Rewritten selection of the default search and document clustering algorithms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521978 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 18:45:27 +00:00
Noble Paul bddef8a226 SOLR-5006 added missed param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521955 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:57:20 +00:00
Chris M. Hostetter 86d4a61797 SOLR-5231: Fixed a bug with the behavior of BoolField that caused documents w/o a value for the field to act as if the value were true in functions if no other documents in the same index segment had a value of true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521948 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:35:24 +00:00
Dawid Weiss 49a7ccee8c SOLR-5202: cleaned up comments surrounding clustering component. Left all the algorithms in there, but added a pointer to integration-strategies which includes more exhaustive configuration examples.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521804 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 11:24:19 +00:00
Ryan McKinley 3cf82592c1 SOLR-3706: getRenderedMessage() rather than + ""
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521741 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 06:06:48 +00:00
Ryan McKinley a338f097c6 SOLR-3706: avoid NPE (merge from 4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521739 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 05:53:39 +00:00
Mark Robert Miller bd4f9b9896 SOLR-4816: CloudSolrServer can now route updates locally and no longer relies on inter-node update forwarding.
SOLR-3249: Allow CloudSolrServer and SolrCmdDistributor to use JavaBin.
SOLR-4816: CloudSolrServer now uses multiple threads to send updates by default.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521713 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 01:19:45 +00:00
Chris M. Hostetter 88a00de5b7 SOLR-5227: Correctly fail schema init if a dynamicField is configured to be required, or have a default value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521587 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:00:52 +00:00
Robert Muir 315c0e6dbe SOLR-5210: make perSegFilter cache actually per-segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521559 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:39:54 +00:00
Robert Muir d545fdfd1e SOLR-4909: Use DirectoryReader.openIfChanged in non-NRT mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521556 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:19:08 +00:00
Chris M. Hostetter 54427466aa SOLR-5222: test proving that dynamicField's using docValues work as expected with missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521304 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 22:29:42 +00:00
Robert Muir 7ccb123261 LUCENE-5197: Added SegmentReader.ramBytesUsed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521267 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 19:59:07 +00:00
Shai Erera 61d684fe7f Make IndexFileDeleter.lastFiles a List<String> instead of List<Collection<String>>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521258 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 19:30:51 +00:00
Mark Robert Miller 19f9181c74 SOLR-5215: Fix possibility of deadlock in ZooKeeper ConnectionManager.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521236 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 18:36:11 +00:00
Steven Rowe 9cedad9cd1 Upgrade Apache Rat from v0.9 to v0.10
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521206 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 17:29:45 +00:00
Michael McCandless 9c13028cd7 LUCENE-5202: allow afterPosition() to insert a token at the end as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521182 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 16:28:55 +00:00
Han Jiang 69798d5a72 LUCENE-3069: Lucene should have an entirely memory resident term dictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521173 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 16:07:56 +00:00