Commit Graph

23092 Commits

Author SHA1 Message Date
Anshum Gupta 48ea578733 SOLR-7639: Fixing maxqt, and maxntp, and adding support for maxdf to MLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687088 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 16:03:48 +00:00
Adrien Grand e39473a5a3 LUCENE-6599: Fix test bug in TestUninvertingReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687067 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 14:06:51 +00:00
Adrien Grand 6e0d10d257 LUCENE-6588: Fixed how ToChildBlockJoinQuery deals with acceptDocs.
Close #155


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687049 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 13:14:50 +00:00
Varun Thacker f7dd8e3805 SOLR-7499: Deprecate the 'name' parameter from the ADDREPLICA Collection API call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686827 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 10:19:35 +00:00
Adrien Grand c0fd50b2ed Fix TestBlockJoinValidation expectations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686813 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 08:43:17 +00:00
Shalin Shekhar Mangar fdeffbb536 SOLR-7182: Make the Schema-API a first class citizen of SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686650 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 16:24:08 +00:00
Uwe Schindler 47fcaa5973 LUCENE-6594: Add missing Java 8 signatures (revert this as soon as forbidden-apis was updated)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686537 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 09:05:38 +00:00
Michael McCandless c9e267f948 LUCENE-6591: never write a negative vlong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686495 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:54:02 +00:00
Steven Rowe b68d571781 SOLR-7679: Schema API doesn't take similarity attribute into account when adding field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686491 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:44:50 +00:00
Adrien Grand 33db301f5f LUCENE-6593: Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686485 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:17:15 +00:00
Joel Bernstein 1ff66e90f1 SOLR-7513, SOLR-7528: Add Equalitors to Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686481 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 18:53:57 +00:00
Adrien Grand a101eb9c43 LUCENE-6570: Add a MIGRATE entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686440 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 15:57:21 +00:00
Michael McCandless 8877c9f7b7 allow for -1 exceptionDoc, when timeout was hit in getLeafCollector; fix timout -> timeout typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686413 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 13:40:22 +00:00
Adrien Grand 2a1bab86b9 LUCENE-6570: Remove controversial defensive cloning of queries when adding them to a BooleanQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686408 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 13:20:47 +00:00
Michael McCandless 954957c987 add defensive asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686404 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 13:09:12 +00:00
Adrien Grand 982a965832 LUCENE-2880: Relax assertion: span near and phrase queries don't have the same scores if they wrap twice the same term.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686337 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 22:40:59 +00:00
Steven Rowe 9f8635de07 SOLR-7697: Schema API doesn't take class or luceneMatchVersion attributes into account for the analyzer when adding a new field type.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686327 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 22:07:30 +00:00
Adrien Grand 81f4c0f1b5 LUCENE-2880: Make span queries score more consistently with regular queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686301 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 19:37:05 +00:00
David Wayne Smiley 0340838276 LUCENE-6544: Geo3D: Regularize path & polygon construction, add PlanetModel.surfaceDistance(), cache lat & lon in GeoPoint, add thread-safety where missing -- Geo3dShape.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686285 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 17:42:48 +00:00
Joel Bernstein 54980cef40 SOLR-7689: Updating CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686245 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 15:27:09 +00:00
Joel Bernstein 545fd9942c SOLR-7689: Updating CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686243 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 15:24:05 +00:00
Joel Bernstein 3c8d9f7524 SOLR-7689: ReRankQuery rewrite method can change the QueryResultKey causing cache misses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686213 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 13:27:53 +00:00
Adrien Grand 35c0ff0ec6 LUCENE-6583: Remove FilteredQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand 247f49c297 LUCENE-6570: Make BooleanQuery.Builder.add(Query,Occur) return this, like other methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686150 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 08:44:58 +00:00
Adrien Grand 4aafacfbef LUCENE-6570: Make BooleanQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Anshum Gupta 2b96b25046 SOLR-7639: MoreLikeThis QParser now supports all options provided by the MLT Handler i.e. mintf, mindf, minwl, maxwl, maxqt, and maxntp. This commit also fixes an NPE issue in CloudMLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686123 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 23:12:15 +00:00
Timothy Potter 929cb9544d SOLR-7693: Fix the bin/solr -e cloud example to work if lsof is not installed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686113 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 21:27:10 +00:00
Anshum Gupta 4b16875058 SOLR-5886: Store async call results in zk so that they can be returned by the REQUESTSTATUS API. Also, restrict the number of stored response to 10,000 each as a safety net.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686089 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 18:46:10 +00:00
Ramkumar Aiyengar c33623f316 SOLR-7629: Have RulesTest consider disk space limitations of where the test is being run
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686077 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 17:08:10 +00:00
Noble Paul a9d669cf86 SOLR-7665: deprecate the class TransformerWithContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685979 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 09:56:10 +00:00
Erick Erickson 57cb32ab7d SOLR-7667: If more cores are loaded at startup than the transient core size, cores become unavailable. This is a test for this case to guard against regression. This test will fail in 4.x and succeeds in 5x/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685930 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 04:23:50 +00:00
Robert Muir f047b54425 LUCENE-6577: Give earlier and better error message for invalid CRC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685927 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 02:49:35 +00:00
Gregory Chanan 5a0c012250 SOLR-7688: JettyConfig cannot be used with extra filters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685923 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 00:05:29 +00:00
Steven Rowe faa80ae324 SOLR-7682: Schema API - Add New Copy Field Rule doesn't allow maxChars parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 20:02:00 +00:00
Noble Paul 8ab21aa657 SOLR-7662: Refactored response writing to consolidate the logic in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685856 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 15:17:14 +00:00
Mark Robert Miller cc1edb0d16 SOLR-7458: Improve test assert messages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685847 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 14:33:09 +00:00
Alan Woodward 233d9e090c LUCENE-6371: Remove unused 'collectPayloads' parameter from SpanNearQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685814 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 13:01:14 +00:00
Adrien Grand c397fe7234 LUCENE-6531: Make PhraseQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 10:18:40 +00:00
Alan Woodward 8d8818fea1 LUCENE-6567: Simplify payload checks in SpanPayloadCheckQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685736 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 08:51:53 +00:00
Simon Willnauer a864970331 LUCENE-6559: Fix test, last collected doc can now be unknown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685730 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 08:20:54 +00:00
Chris M. Hostetter b2394ff752 LUCENE-6569: Optimize MultiFunction.anyExists and allExists to eliminate excessive array creation in common 2 argument usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685687 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 23:26:14 +00:00
Uwe Schindler 106d6b92ef LUCENE-6564: Change PrintStreamInfoStream to use thread safe Java 8 ISO-8601 date formatting (in Lucene 5.x use Java 7 FileTime#toString as workaround); fix output of tests to use same format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685675 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 21:34:41 +00:00
Shalin Shekhar Mangar e49736f760 SOLR-7652: Adding the change log entry to 5.2.1 (it was accidentally deleted)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685667 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 20:52:32 +00:00
Steven Rowe 5523048058 SOLR-7091: Nested documents with unknown fields don't work in schemaless mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685660 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 20:14:09 +00:00
Alan Woodward 9741c16721 LUCENE-6371: Remove deprecated SpanNearPayloadCheckQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685614 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:18:22 +00:00
Shalin Shekhar Mangar 2f2f56a135 Add 5.2.1 back compat test indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685613 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:14:04 +00:00
Steven Rowe 47f434d191 LUCENE-6539: Intellij config: add sandbox module dependency to solr-core and solr-analysis-extras modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685597 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 15:28:08 +00:00
Alan Woodward f7ddede193 LUCENE-6371: Turn off test verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685577 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 13:07:17 +00:00
Noble Paul 5e84093ab0 SOLR-7668: Add 'port' tag support in replica placement rules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685560 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:55:45 +00:00
Michael McCandless 3aa18151b3 LUCENE-6539: Add DocValuesNumbersQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685540 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:01:14 +00:00