Han Jiang
ee49f10cf0
fork postingsformat: TempBlock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493376 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 15:04:13 +00:00
Han Jiang
16fe4335b2
init branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493374 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 14:55:18 +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
Shalin Shekhar Mangar
fdff37f36e
Disable buffer for subprocess pipe objects
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491009 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 17:00:25 +00:00
Robert Muir
495a5239b6
remove obselete TODO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490989 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 14:20:12 +00:00
Robert Muir
290ae62a44
LUCENE-4933: collapse Exact/SloppySimScorer into SimScorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490971 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 12:42:36 +00:00
Chris M. Hostetter
d08b2810fd
SOLR-4890: remove /non/existent/dir/yields/warning from example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490889 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 00:53:32 +00:00
Chris M. Hostetter
d342f49051
SOLR-4906: fix UpdateRequestProcessorChain class javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 18:56:46 +00:00
Martijn van Groningen
8e348ff90f
LUCENE-4941: Sort the "from" terms only once when using JoinUtil.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490697 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 15:56:40 +00:00
Simon Willnauer
051e0fda3d
LUCENE-5036: Cleanup StoredFieldsProcessor & TermVectorsConsumer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490591 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 11:31:03 +00:00
Simon Willnauer
1f2c01754f
LUCENE-5039: Refactor IndexWriter#testPoint() to use InfoStream instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490533 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 08:13:23 +00:00
Adrien Grand
3ff9c73184
LUCENE-5034: Make (Monotonic)AppendingLongBuffer's block size configurable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490469 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 23:30:15 +00:00
Shawn Heisey
309dd8191d
LUCENE-5043: autogenerate eclipse project name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490450 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:32:53 +00:00
Michael McCandless
f4cd73a338
LUCENE-5040: fix wasted work in Lucene40TVWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490348 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:35:46 +00:00