Uwe Schindler
01b002b510
LUCENE-5207: Remove classloader field (is not needed, we call only once)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522967 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 15:10:23 +00:00
Uwe Schindler
9617a1ddaa
LUCENE-5207: Add a unused test method to make sure that if we change the FunctionValues interface we get compile error. Also make the class format version a constant for easy maintenance (once we backport)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522925 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 13:40:56 +00:00
Uwe Schindler
115d5dd0e1
LUCENE-5207: Revert the dynamic class name. Its much better to use the "source file attribute". The class name is now constant (as every class gets own class loader) and looks like an internal class of the compiler. The stack trace is then looking like:
...
Throwable #1 : java.lang.IllegalArgumentException: foobar
at __randomizedtesting.SeedInfo.seed([3968E8DD2901F71C:4292B9595A397818]:0)
at org.apache.lucene.util.MathUtil.log(MathUtil.java:51)
at org.apache.lucene.expressions.js.JavascriptCompiler$CompiledExpression.evaluate(logn(2, 0))
at org.apache.lucene.expressions.js.TestJavascriptFunction.assertEvaluatesTo(TestJavascriptFunction.java:27)
at org.apache.lucene.expressions.js.TestJavascriptFunction.testLognMethod(TestJavascriptFunction.java:178)
at java.lang.Thread.run(Thread.java:724)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522907 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:54:29 +00:00
Martijn van Groningen
026526dbd4
Fix idea config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522898 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:36:22 +00:00
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
Michael McCandless
36d7c6b38d
try to workaround javadocs bug causing nightly-smoke to fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522885 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:58:33 +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