17508 Commits

Author SHA1 Message Date
Han Jiang
d6e2f4b663 LUCENE-3069: writer part
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1499744 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 13:13:54 +00:00
Han Jiang
1e3adfae1b fix javadoc & API change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493518 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 15:01:43 +00:00
Han Jiang
48df915f8d LUCENE-3069: setField now expose per-field info to term dict
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493517 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:44:33 +00:00
Michael McCandless
8609b1d2f8 LUCENE-3069: add nocommit/TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493516 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:40:02 +00:00
Han Jiang
3aa280f522 javadoc: describe sub block in BlockTree term dict
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493513 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:02:30 +00:00
Han Jiang
c7f5ce8c68 LUCENE-5029: merge PendingMetaData into PendingTerm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493508 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 13:06:29 +00:00
Han Jiang
6f3ee003c6 LUCENE-5029 simplify contract on generic long[]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493502 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 12:24:57 +00:00
Han Jiang
9a1ae3fe4a LUCENE-5029: remove block based API from PBF
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493494 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 10:53:51 +00:00
Michael McCandless
13df813541 LUCENE-3069: merge trunk changes over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1493493 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 10:49:40 +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
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