Commit Graph

11345 Commits

Author SHA1 Message Date
Robert Muir d3b2ff9af2 LUCENE-3478: use a relative rather than abs score delta for score vs explain comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178406 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 13:12:00 +00:00
Michael McCandless 52e8d40c2f LUCENE-3476: small code cleanup (use one try/finally/success)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177995 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:39:37 +00:00
Simon Willnauer d607980a5a LUCENE-3462: Release lock in DocumentsWriterPerThreadPool if new state has been deactivated during close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177941 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 08:12:30 +00:00
Simon Willnauer d514a4ac75 LUCENE-3476: SearcherManager misses to close IR if manager is closed during reopen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177940 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 08:10:21 +00:00
Robert Muir b4ff06f88e LUCENE-3474: pass Bits to weight.scorer instead of weights pulling their own from the reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 01:03:35 +00:00
Robert Muir 981a297488 LUCENE-3480: refactoring of docvalues params in Codec.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177851 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 21:53:38 +00:00
Michael McCandless ec2b654231 LUCENE-3477: add explicit breaks in jflex sources so we don't hit compiler warnings; fix a couple other warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177723 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:23:24 +00:00
Mark Robert Miller d4b4aefabb SOLR-2799: Update CloudState incrementally rather than always reading the data at each zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177360 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 16:44:24 +00:00
Michael McCandless 02736c0976 add testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177049 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 20:36:41 +00:00
Robert Muir ab5a62cf46 add a test that tests more than one document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 20:33:16 +00:00
Martijn van Groningen 7cbcf2a2de LUCENE-3468: Replaced last() and remove() with pollLast() in FirstPassGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 18:40:22 +00:00
Simon Willnauer 534d8abed0 LUCENE-3467: Cut over numeric docvalues to fixed straight bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176906 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 14:52:30 +00:00
Simon Willnauer 42b419aa31 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176774 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:09:27 +00:00
Christopher John Male 8d28270460 LUCENE-3470: Changed Field constructor signatures order to value, fieldtype
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176773 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:07:16 +00:00
Simon Willnauer 1f731984ba LUCENE-3445: Make SearcherManager#acquire lock free
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176772 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:02:01 +00:00
Christopher John Male 67c13bd2fe LUCENE-3455: Renamed Analyzer.reusableTokenStream to Analyzer.tokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:26:54 +00:00
Mark Robert Miller 810f331fa2 ignore expected exception in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176598 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:26:10 +00:00
Robert Muir 34220d0e1f LUCENE-3469: move DocumentStoredFieldVisitor to o.a.l.document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176494 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 18:06:19 +00:00
Michael McCandless 9e624f2652 LUCENE-3472: put Document.getValues back
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176487 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:44:05 +00:00
Michael McCandless 4915dcc3f3 LUCENE-3471: move comment up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176479 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:21:54 +00:00
Michael McCandless 09c2d563f1 LUCENE-3471: don't close ES until after writer; add try/finally/success logic during warming so we close newly reopened but-not-swapped reader; move IS's locking on merging results out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176478 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:19:11 +00:00
Robert Muir dc4450207f remove dead code: Document.getFields(String) cannot return null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176389 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:04:44 +00:00
Christopher John Male fe3982c746 LUCENE-3455: Moved remaining Analysis consumers over to using reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176191 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 04:07:38 +00:00
Michael McCandless 33893d0e88 LUCENE-3445: silly concurrency bug -- get and swapSearcher need to be sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176114 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:52:42 +00:00
Chris M. Hostetter 9bdaa028d6 SOLR-2757: min/max functions now take unlimited number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Michael McCandless 1e554bd943 switch packed ints impl from IndexInput/Output to DataInput/Output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175984 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:25:01 +00:00
Chris M. Hostetter 4287d1bb52 SOLR-2739: more assumptions to ensure file is not writable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175975 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:05:25 +00:00
Robert Muir 74ebea2a3f wrap 3.5 changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175956 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:56:32 +00:00
Robert Muir 8f23139191 wrap trunk changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175955 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:55:38 +00:00
Robert Muir cad1c53ed3 LUCENE-2215: move Changes.txt entry to 3.5 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175942 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:34:29 +00:00
Robert Muir 970bed4bca use textField not Stringfield in this test (it was intended to analyze the english)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175936 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:22:46 +00:00
Michael McCandless e1d1d34e56 LUCENE-3461: catch same doc-values field added twice in one doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175935 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:20:10 +00:00
Mark Robert Miller f5d625821f be careful when shutting down - in some cases in tests we did not yet fully start up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175862 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:31:37 +00:00
Shalin Shekhar Mangar c9637196ae SOLR-2791 -- Placing change log entry in the right release section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175699 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:17:22 +00:00
Shalin Shekhar Mangar 9ed62f999b SOLR-2791 -- Replication: abortfetch command is broken if replication was started by fetchindex command instead of a regular poll.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175696 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:13:44 +00:00
Christopher John Male a6157373d8 LUCENE-3455: Fixed TestLongPostings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175685 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 06:12:53 +00:00
Christopher John Male 0bed3142bb LUCENE-3455: Test Analysis consumers now use reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:58:48 +00:00
Mark Robert Miller c033ca6b10 1 second is too small a timeout for busy/slow comps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175657 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:15:29 +00:00
Mark Robert Miller 68d098fbef it's possible to get an NPE here on shutdown in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175656 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:13:38 +00:00
Mark Robert Miller 44b56415a8 relax the timing on these two tests so that tests pass on my setup much more often
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175652 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:30:09 +00:00
Mark Robert Miller 4de85b89ff SOLR-2793: Somtimes you must dec ref twice, and add fix to the other submit calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175651 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:28:55 +00:00
Robert Muir e927a69698 LUCENE-3456: use MockTokenizer in analysis tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175650 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:24:02 +00:00
Mark Robert Miller 67fe9a6b81 SOLR-2793: Be sure to only dec ref if we inc ref'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175646 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 02:13:23 +00:00
Mark Robert Miller 50b31b2a4e SOLR-2793: In rare cases (most likely during shutdown), a SolrIndexSearcher can be left open if the executor rejects a task.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175637 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 00:48:02 +00:00
Robert Muir e7229ee7a4 LUCENE-3456: more use of MockTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 21:10:50 +00:00
Robert Muir 1e577e15b5 LUCENE-3456: use MockTokenizer instead of WhitespaceTokenizer in test configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 19:10:17 +00:00
Doron Cohen e57f2ca698 LUCENE-3457: Upgrade commons-compress to 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175475 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 18:15:18 +00:00
Uwe Schindler 0a1d2dd8ec Fix Javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 16:24:41 +00:00
Michael McCandless 4d44198e0d LUCENE-3445: add SearcherManager to simplify handling of multiple search threads and reopening IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175413 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 15:18:13 +00:00
Michael McCandless 2028a88d4f add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 14:10:42 +00:00