Commit Graph

23332 Commits

Author SHA1 Message Date
Robert Muir b745a9f608 LUCENE-6618: MMapDirectory.checkUnmapSupported is buggy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695859 13f79535-47bb-0310-9956-ffa450edef68
2015-08-14 11:24:09 +00:00
Timothy Potter 2d7df11ab8 SOLR-7921: Fix non-reproducible test failure on sarowe's Jenkins by adding a brief wait before checking that tech product docs have been committed to the example server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695752 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 19:06:04 +00:00
Shalin Shekhar Mangar 7ebc890bec SOLR-7869: Overseer does not handle BadVersionException correctly and, in some cases, can go into an infinite loop if cluster state in ZooKeeper is modified externally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695746 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 18:31:09 +00:00
Robert Muir 9dc862147e LUCENE-6711: Use CollectionStatistics.docCount() for IDF and average field length computations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695744 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 17:37:15 +00:00
Robert Muir 1e0e15af6c LUCENE-6730: Hyper-parameter c is ignored in term frequency NormalizationH1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695732 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 16:10:07 +00:00
Timothy Potter 5af08f7211 SOLR-7921: The techproducts example fails when running in a directory that contains spaces.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695728 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 15:52:15 +00:00
Yonik Seeley a2ef0a013b SOLR-7922: 0 bucket was being skipped for numeric facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695715 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 14:31:06 +00:00
Uwe Schindler 2f0384b89d Fix formatting problem in changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695672 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 10:29:01 +00:00
Uwe Schindler 05d089ca01 LUCENE-6732: Scan txt files in root folder, too. TODO: scan txt files everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695669 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 09:53:44 +00:00
Uwe Schindler 1d2a982222 Remove tabs in changes.txt (failing smoker)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695659 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 08:32:25 +00:00
Uwe Schindler 774fe40279 LUCENE-6729: Expressions: Remove no longer needed Javadocs comments inside anyonymous visitor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695657 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 08:22:16 +00:00
Yonik Seeley 4f671e69ab SOLR-7918: optimize term->DocSet generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695623 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 23:13:46 +00:00
Yonik Seeley d336b25449 tests: avoid json responsewriter bug w/ unknown classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695596 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 18:53:16 +00:00
Uwe Schindler 91eaeb3fe7 Add some more SVN excludes for Solr Server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695588 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 17:48:06 +00:00
Uwe Schindler 127392cc73 LUCENE-6732: More filetypes to check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695586 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 17:43:08 +00:00
Uwe Schindler fa48923d5d LUCENE-6732: Improve javadoc-style license checker to use Apache RAT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695496 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 12:50:40 +00:00
Dawid Weiss 02c3836095 LUCENE-6174: Improve 'ant eclipse' to select right JRE for building.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695442 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 08:07:55 +00:00
Uwe Schindler 763c8d726c LUCENE-6732: Remove tabs XSL files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695405 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:15:20 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler f0654e355e LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Noble Paul 11ac3f7f88 SOLR-7838: changed the permissions froma map to an array so that order is obvious
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695308 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 14:28:50 +00:00
Anshum Gupta 040849908c SOLR-7911: Remove unwanted logging and no commit from CoreContainer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695200 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 03:15:43 +00:00
Ramkumar Aiyengar 9f6b72524c SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695175 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:53:42 +00:00
Ramkumar Aiyengar 72fc992ec4 SOLR-7859: Add RTimer classes to post.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695173 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:46:51 +00:00
Uwe Schindler 61d40c7dec LUCENE-6729: Upgrade ASM used in expressions module to version 5.0.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695169 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:30:05 +00:00
Yonik Seeley b4c04ddbc8 SOLR-7219: use SolrConstantScoreQuery to fix 5x filter() break
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695133 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:45:23 +00:00
Erik Hatcher 5003628c65 SOLR-7900: example/files improvements - added language detection and faceting, added title field, relocated .js files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695116 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 15:35:59 +00:00
Mark Robert Miller fce171a434 SOLR-7757: Don't use pair from jfxrt.jar - this library is optional in some OS's.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695075 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 14:01:41 +00:00
Shalin Shekhar Mangar 9c177facb9 SOLR-7908: SegmentsInfoRequestHandler gets a ref counted IndexWriter and does not properly release it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695069 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 13:51:45 +00:00
Tommaso Teofili 42c00ed22b LUCENE-6731 - added Similarity parameter to kNN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695034 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 11:50:10 +00:00
Adrien Grand 5186ce4e23 LUCENE-6715: Take value tables into account for memory usage of doc values.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695027 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 11:48:15 +00:00
Ramkumar Aiyengar 264767d47d SOLR-7902: Split out use of child timers from RTimer to a sub-class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694935 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 23:55:22 +00:00
Erick Erickson cc3b13c1c4 SOLR-7836: Possible deadlock when closing refcounted index writers. Surrounded ulog updates with updatelock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694913 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 21:46:41 +00:00
Joel Bernstein 3446d36dda SOLR-7707: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694910 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:57:45 +00:00
Joel Bernstein 0bf332083f SOLR-7441: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694909 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:55:15 +00:00
Joel Bernstein 425799255b SOLR-7554: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694908 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:51:31 +00:00
Joel Bernstein bf34cdfe00 SOLR-7528: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694907 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:48:15 +00:00
Joel Bernstein 9831e4ac52 SOLR-7513: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694906 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:45:03 +00:00
Joel Bernstein 636f9a47e7 SOLR-7560: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694905 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:33:27 +00:00
Uwe Schindler d90007ffee LUCENE-6417: remove useless import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694897 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 16:45:23 +00:00
Erik Hatcher 84c8c5e228 SOLR-7859: Fix bin/post to rely on SolrJ for RTimer use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694888 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 13:22:20 +00:00
Uwe Schindler 3115cd07fc LUCENE-6417: make params final (for Java 7)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694879 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 12:13:00 +00:00
Uwe Schindler 4b3268aaf4 LUCENE-6417: Make JavascriptCompiler completely stateless (thanks to visitor pattern)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694876 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 12:10:30 +00:00
Noble Paul 1e82854532 SOLR-7849: Hardening tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694867 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 10:51:18 +00:00
Uwe Schindler cc45d912f7 LUCENE-6417: Cleanup ANTLR code generator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694865 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 10:46:14 +00:00
Erick Erickson 2676aa61b9 SOLR-7836: Possible deadlock when closing refcounted index writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694854 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 03:38:08 +00:00
Michael McCandless 8958a1afff LUCENE-6697: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694809 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 15:16:34 +00:00
Ramkumar Aiyengar b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Michael McCandless a050d3accb LUCENE-6724: add utility APIs to compute neighboring geohash cells
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694747 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 20:48:49 +00:00
Christine Poerschke c561e142bc fix a TestEarlyTerminatingSortingCollector.testTerminatedEarly test failure (avoid 1-document/1-unsorted-segment index by adding a 2nd segment/document before calling forceMerge(1) in createRandomIndex)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694742 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 20:13:20 +00:00