Simon Willnauer
95b0aa44da
LUCENE-3031: setFlushPending fails if we concurrently hit a aborting exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092625 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 08:26:16 +00:00
Simon Willnauer
b95a78384c
only try to flush if there is a DWPT ready for flushing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092622 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 08:10:28 +00:00
Simon Willnauer
ccd4d4a1e1
prevent rolling updates from relying on num of CPUs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092614 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 07:42:34 +00:00
Simon Willnauer
3128a64121
disabled fragile assert in healthiness test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092613 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 07:41:51 +00:00
Robert Muir
3db2d87b9f
mergeprop cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092483 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:54:07 +00:00
Simon Willnauer
9faf9d9c35
fixed assert location
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092478 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:48:35 +00:00
Michael McCandless
0e928f593c
more verbosity in Test2B (merged from 3.x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092462 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:38:18 +00:00
Chris M. Hostetter
a5d2b89dff
SOLR-2468: fix test added by SOLR-2335 that doesn't work on windows (double-quote in file name)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092451 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:32:41 +00:00
Robert Muir
c3f6331639
LUCENE-3016: add analyzer for Latvian
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092396 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 17:07:10 +00:00
Robert Muir
9b8cfb80b5
SOLR-2468: ignore test for now to unbreak build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092394 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 16:56:23 +00:00
Simon Willnauer
db1270e5f7
prevent mockDirectory from failing during rollback
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092329 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:16:05 +00:00
Robert Muir
ecd795c585
LUCENE-3026: SmartChineseAnalyzer's WordTokenFilter threw NullPointerException on sentences longer than 32,767 characters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092328 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:15:31 +00:00
Simon Willnauer
cf52aa04c2
added license header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092208 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 13:05:05 +00:00
Simon Willnauer
7f22bd1118
LUCENE-3028: IW.getReader() returns inconsistent reader on RT Branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092194 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:41:18 +00:00
Simon Willnauer
c28df3e572
disable random exception ratio for running rollback during test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092190 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:37:46 +00:00
Simon Willnauer
368644bfd0
fixing testHealthyness since we now don't stall on bytesUsed explicitly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092144 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 11:40:00 +00:00
Dawid Weiss
191706df70
SOLR-2378: A new, automaton-based, implementation of suggest (autocomplete)
...
component, offering an order of magnitude smaller memory consumption
compared to ternary trees and jaspell and very fast lookups at runtime.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092136 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 11:16:43 +00:00
Michael McCandless
2133423e2b
LUCENE-3027: remove redundant assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092110 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:39:38 +00:00
Michael McCandless
0fb7c3e41f
LUCENE-3027: disregard FieldInfo.storesPayloads if omitTFAP is true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092105 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:33:01 +00:00
Michael McCandless
80d8c628eb
minor defensive fix (use arg to method, not class private member); add comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092081 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 09:52:03 +00:00
Yonik Seeley
ac87b66237
docs: credit, fix utf8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091814 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 15:05:19 +00:00
Yonik Seeley
f777daef3d
SOLR-1566: fix /browse wrt pseudo fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091797 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 14:24:12 +00:00
Simon Willnauer
8428ecc7ee
merged with trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1091748 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 11:22:24 +00:00
Simon Willnauer
e95097a7c8
LUCENE-2956: Support updateDocument() with DWPTs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1091720 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 09:20:39 +00:00
Otis Gospodnetic
34533ad635
- Corrected termInfosIndexDivisor to setTermIndexDivisor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091638 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:39:19 +00:00
Michael McCandless
ca8821055c
LUCENE-3024: handle > 2.1B terms (again)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091557 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 19:35:54 +00:00
Chris M. Hostetter
961a548a2a
rip out excessive logging that was originally ment to be nocommit anyway (see r1085618)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091522 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 17:58:20 +00:00
Chris M. Hostetter
5e04c0bab9
SOLR-2335: New field(...) function syntax for refering to complex field names (containing whitespace or special characters)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091516 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 17:40:22 +00:00
Michael McCandless
904b8a4b77
LUCENE-3017: allow FST to distinguish final vs non-final no-arcs-leaving nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 17:11:19 +00:00
Michael McCandless
b559afee35
add IndexSearcher.toString()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091499 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 17:08:16 +00:00
Robert Muir
35d1d369f5
LUCENE-3021: randomize skipInterval in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091408 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:36:57 +00:00
Robert Muir
ad8926cc61
LUCENE-3020: clear javadocs warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091278 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 03:01:25 +00:00
Robert Muir
52b54262dc
LUCENE-3020: don't reflect mockanalyzer, it has no no-arg ctor anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091159 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 18:15:50 +00:00
Robert Muir
e483e260d2
LUCENE-3020: prevent false fails by wiring this disk-usage-test to use fixed length payloads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091149 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:57:54 +00:00
Robert Muir
7d07d206b5
LUCENE-3020: better payload testing with mockanalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091132 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:20:31 +00:00
Simon Willnauer
9466f678f3
removed bogus iteration in testcase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091060 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:08:38 +00:00
Michael McCandless
4fa9156d3a
add commented out code to write the dot-file for the FST index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091020 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 10:56:46 +00:00
Yonik Seeley
3309b5c585
SOLR-2432: fix useFilterForSortedQuery which was broken by LUCENE-2831
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1090913 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 00:12:29 +00:00
Michael McCandless
bcd2440a88
add stress test for skipping
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1090497 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 00:27:46 +00:00
Michael McCandless
11a6e0de70
sharpen CheckIndex to test .nextPosition() after skipping; fix bug in PulsingCodec's reuse of Docs/AndPositionsEnum with payloads; don't write redundant payload lengths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1090024 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 21:26:32 +00:00
Michael McCandless
106f2eedf3
speed up some very slow tests when not running nightly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089918 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 15:52:19 +00:00
Michael McCandless
9479242fb7
make this slooow test less evil when not running nightly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089906 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 15:05:28 +00:00
Robert Muir
528a4b806a
javadoc: fix confusing terminology
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089836 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 11:50:14 +00:00
Michael McCandless
1e79dd3a57
don't double-buffer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089815 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 10:52:14 +00:00
Michael McCandless
522ab5b583
fix test: don't use hardcoded index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089813 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 10:51:13 +00:00
Dawid Weiss
19ae952e80
SOLR-2378: Making fields of LookupResult public final (everything else is accessible and you can't get access to the actual suggestions, this makes no sense).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089798 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 10:10:52 +00:00
Steven Rowe
4ea675e29c
- Re-ordered module dependencies to be the last <orderEntry>s - modules that depend on other modules will otherwise refuse to compile under IntelliJ 10.0.3.
...
- Removed <orderEntry> for the now-nonexistent contrib/demo/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089739 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:57:20 +00:00
Uwe Schindler
c914b3066a
SOLR-2455: Prevent double submit of forms in admin interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089335 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 07:43:16 +00:00
Dawid Weiss
2fe7952ce9
LUCENE-3011: FST saving/reading from a plain DataInput/DataOutput stream. Modified CodecUtil as well to use DataOutput instead of IndexOutput. Patch by Robert Muir.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1088932 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 09:13:26 +00:00
Yonik Seeley
252c86beb9
SOLR-2444: change fl=key=a to fl=key:a
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1088820 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 23:23:59 +00:00