Adrien Grand
036381290d
LUCENE-5064: Added PagedMutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494233 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 18:19:07 +00:00
Mark Robert Miller
e1005a0645
SOLR-4926: remove some silliness
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494160 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 14:59:16 +00:00
Adrien Grand
2cb61149e4
LUCENE-4876: Add more notes about IndexWriterConfig.clone and its implications.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494146 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 14:18:55 +00:00
Erick Erickson
0b6fa118f5
SOLR-4932 some extra parameters persisted to solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493982 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 01:30:49 +00:00
Shalin Shekhar Mangar
8233c923a1
SOLR-4931: SolrDeletionPolicy onInit and onCommit methods changed to override exact signatures (with generics) from IndexDeletionPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493871 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 18:37:52 +00:00
Mark Robert Miller
6b06ac1026
SOLR-4923: do not test if not sending to leaders first
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493861 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 17:58:07 +00:00
Mark Robert Miller
4f05d88704
SOLR-4923: add missing credit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493829 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 16:13:38 +00:00
Mark Robert Miller
094b37b845
SOLR-4923: add optimization CHANGES entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:37:49 +00:00
Mark Robert Miller
fc9c0a8f14
SOLR-4923: Commits to non leaders as part of a request that also contain updates can execute out of order.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:31:22 +00:00
Erick Erickson
26416ba2e3
SOLR-4910, corrected typo in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493622 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 01:44:59 +00:00
Erick Erickson
05eb306423
SOLR-4910, improvements to persisting solr.xml and misc other fixes, see CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 00:33:31 +00:00
Michael McCandless
c362eeb2af
fix test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493391 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 16:21:35 +00:00
Michael McCandless
a415009d08
fix NPE on empty index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493381 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 15:38:15 +00:00
Michael McCandless
8c6a36003c
remove stale comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493345 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 12:07:52 +00:00
Uwe Schindler
57d23ada87
LUCENE-5055: "rat-sources" target now checks also build.xml, ivy.xml, forbidden-api signatures, and parts of resources folders.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493333 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 10:01:19 +00:00
Simon Willnauer
e05af592c1
LUCENE-5038: Fix test to reliably work with all codecs / posting formats
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493022 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 10:55:29 +00:00
Noble Paul
37981de101
SOLR-4925 Collection create throws NPE when 'numShards' param is missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492808 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:42:54 +00:00
Simon Willnauer
b7763af7df
LUCENE-5038: Fix test, useCompoundFile doesn't exists anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492770 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 17:23:53 +00:00
Simon Willnauer
e83c3f7a8b
LUCENE-5038: Refactor CompoundFile settings in MergePolicy and IndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492701 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 15:11:14 +00:00
Mark Robert Miller
af2128c683
SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492693 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 14:49:39 +00:00
Adrien Grand
e7cdd1959f
LUCENE-5042: Refuse to convert if the length is negative.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492543 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 07:06:15 +00:00
Shalin Shekhar Mangar
14d7d11d59
SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally, if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the connection will not be closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492537 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 06:47:47 +00:00
Steven Rowe
8b6c136f3c
LUCENE-5042: Maven configuration: add chars.txt to forbiddenapis config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492420 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 20:52:53 +00:00
Adrien Grand
8334a8745b
LUCENE-5042: Reset the CharBuffer in TokenStream.reset().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492257 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 15:59:00 +00:00
Adrien Grand
e021451d6c
LUCENE-5042: Fix the n-gram tokenizers and filters.
...
This commit fixes n-gram tokenizers and filters so that they handle
supplementary characters correctly and adds the ability to pre-tokenize the
stream in tokenizers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492185 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 13:17:49 +00:00
Adrien Grand
a4d58b6f22
LUCENE-5053: Expose PagedGrowableWriter memory usage.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492114 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 08:34:27 +00:00
Uwe Schindler
a62bdaa944
LUCENE-5047: Handle NoSuchFileException of Java 7 like FileNotFoundException when opeining index files; document this in Directory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491992 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 22:26:08 +00:00
Steven Rowe
fc4d7d3550
SOLR-4792: Skip target '-validate-maven-dependencies' in solr/webapp/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491970 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 21:25:02 +00:00
Robert Muir
4a751c3f0b
remove unnecessary code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491956 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 21:02:07 +00:00
Adrien Grand
3e097c87bb
LUCENE-5050: Close the stored fields and term vectors index files eagerly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491889 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 17:56:47 +00:00
Shai Erera
5a14c04bc1
DrillSidewaysScorer NPE if drill-down terms were not found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491809 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 14:21:12 +00:00
Shai Erera
a287431293
LUCENE-5048: limit CategoryPath total length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491562 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 18:41:17 +00:00
Mark Robert Miller
eef4c01c99
fix script classpath
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491470 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:40:18 +00:00
Mark Robert Miller
4c57013878
SOLR-4224: Refactor JavaBinCodec input stream definition to enhance reuse.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491459 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:10:27 +00:00
Erick Erickson
5e5ed64b54
=SOLR-4911, small efficiency improvement, thanks Yogi.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491454 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:55:41 +00:00
Mark Robert Miller
5c052874e8
SOLR-4899: When reconnecting after ZooKeeper expiration, we need to be willing to wait forever, not just for 30 seconds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491449 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:41:57 +00:00
Mark Robert Miller
84b3a0e40b
SOLR-4789: CoreAdminHandler should write core.properties files in discovery mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491446 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:39:34 +00:00
Michael McCandless
151f33407f
try to make usage a bit clearer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491429 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 12:02:09 +00:00
Adrien Grand
415c33232f
LUCENE-4995: Added CHANGES entry.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491376 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 08:45:02 +00:00
Adrien Grand
e78908ad8c
LUCENE-4995: Don't hold references on large decompression buffers in CompressingStoredFieldsReader.
...
CompressingStoredFieldsReader now only reuses an internal buffer when there is
no more than 32kb to decompress. For large blocks, a dedicated decompression
buffer will be created on demand.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491374 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 08:39:50 +00:00
Mark Robert Miller
d35702de9a
SOLR-4805,SOLR-4843: SolreCore#reload should not call preRegister and publish a DOWN state to ZooKeeper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 22:51:21 +00:00
Michael McCandless
7f90c7f8ea
add toString() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491299 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 21:39:00 +00:00
Michael McCandless
12dd8014dd
LUCENE-5044: save work in various tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491261 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 18:41:53 +00:00
Shai Erera
cd4e6b3231
fix test to catch also NoSuchFileException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491222 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 14:01:14 +00:00
Shai Erera
66b2736568
LUCENE-5045: DrillSideways.search yields IllegalArgEx if given IndexReader is empty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491201 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 12:33:43 +00:00
Shalin Shekhar Mangar
d0b01a2b76
Flush subprocess stdout before trying to read from it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491146 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 06:27:46 +00:00
Shai Erera
a987468500
Use the host returned by the Server when connecting to it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491140 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 05:01:08 +00:00
Steven Rowe
b0aef6e46d
SOLR-4893: Extend FieldMutatingUpdateProcessor.ConfigurableFieldNameSelector to enable checking whether a field matches any schema field.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491102 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 23:52:47 +00:00
Michael McCandless
b9dc8ef8f6
LUCENE-5033: SlowFuzzyQuery was accepting too many documents when provided minSimilarity is an int > 1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491088 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 22:49:47 +00:00
Robert Muir
92ec6ec337
SOLR-4792: stop shipping a war in 5.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491031 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 19:08:17 +00:00