David Wayne Smiley
f5071289e7
SOLR-6692: hl.maxAnalyzedChars should apply cumulatively on a multi-valued field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673200 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:08:07 +00:00
David Wayne Smiley
c6482c1488
SOLR-6692: Don't round highlight fragment scores for ordering purposes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673185 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:48:57 +00:00
David Wayne Smiley
0a0dcefb95
SOLR-6692: Made standard highlighter more extensible
...
Private methods are now protected, removed bad constructor, and refactored out getFieldValues() and getResponseForFragments() for both clarity and sub-class extension utility. Some refactoring of doHighlightingByHighlighter to clarify logic. These changes should have ZERO effect on highlights.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673183 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:35:35 +00:00
Shalin Shekhar Mangar
4a4d96600a
SOLR-7384: Fix spurious failures in FullSolrCloudDistribCmdsTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673176 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:05:34 +00:00
Noble Paul
185f8ea2c6
SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Shalin Shekhar Mangar
2c9ae41b78
SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Noble Paul
9ba13dea31
SOLR-7380: SearchHandler should not try to load runtime components in inform()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar
b3660ae4ed
SOLR-7362: Added @BadApple annotation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Shalin Shekhar Mangar
1e21a487d1
Fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar
a382e6f61f
SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless
249d0d25fe
LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
Varun Thacker
3464197249
SOLR-6637: can't assume a local filesystem when dealing with paths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley
a2d29b8e12
Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
...
SOLR-7373: let AbstractSpatialFieldType set the context
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley
6bed01b2ae
Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
...
SOLR-7164: update lucene field also
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Yonik Seeley
858718d17a
SOLR-7371: don't cache size for now and tolerate small alignment errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar
c400bde439
SOLR-7371: Fix NPE when scores are null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +00:00
Shalin Shekhar Mangar
32c78bc382
SOLR-7371: Make DocSet implement Accountable to estimate memory usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00
Mark Robert Miller
64ed335455
SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after the first four second wait.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672379 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:56:26 +00:00
Yonik Seeley
d46bed3c32
SOLR-7238: remove buggy SolrQueryRequest.forward
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672369 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:43:02 +00:00
Steven Rowe
4c83c2200c
SOLR-7366: fix regression in ManagedIndexSchema's handling of ResourceLoaderAware objects used by field types, causing example XML docs to not be indexable via bin/post; add a test indexing example docs that fails without the patch and succeeds with it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672238 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 04:42:30 +00:00
Mark Robert Miller
f3d352501a
SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672201 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 21:49:21 +00:00
Michael McCandless
c08d81cc39
LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Shawn Heisey
7e9b7448d1
SOLR-7355: Switch from ConcurrentLinkedHashMap to Caffeine. Trunk-only change, as it requires java 8.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672133 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:23:19 +00:00
Alan Woodward
3c0ff1de91
SOLR-1387: Move contains() method to SimpleFacets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672106 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:28:13 +00:00
Timothy Potter
6a5f9aa34e
SOLR-6944: Change to using BadApple annotation on ReplicationFactorTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672101 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:16:22 +00:00
Timothy Potter
a986e4099e
SOLR-6944: ReplicationFactorTest continues to fail in most every build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 03:03:17 +00:00
Timothy Potter
35f0e80a02
SOLR-6944: see if NoHttpResponse exceptions are due to the socket timeout being set too low in the SocketProxy, change from 10 to 100 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671861 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:49:56 +00:00
Varun Thacker
fe0ab10d4e
SOLR-7358: TestRestoreCore fails in Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671858 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:38:52 +00:00
Timothy Potter
e2bc6dc8ec
SOLR-7338: A reloaded core will never register itself as active after a ZK session expiration, also fixes SOLR-6583
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671554 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 15:42:12 +00:00
Noble Paul
bb29c9cd2a
SOLR-7168: Close stream aftyer reading it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671481 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 04:51:58 +00:00
Yonik Seeley
56b7843b56
SOLR-7350: fix facet module docvalues support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671472 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 03:16:29 +00:00
Varun Thacker
f7d633a56e
SOLR-6637: Better error handling when retrieving checksums (Fixes Policeman Jenkins Failure #2134 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671400 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 14:59:02 +00:00
Shai Erera
2d15d935f0
SOLR-7336: Add State enum to Replica
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Ramkumar Aiyengar
796416d43c
Remove unnecessary svn:executable from some files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671175 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:56:33 +00:00
Robert Muir
363fc49258
merge trunk up to r1671137
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:13:06 +00:00
Varun Thacker
79bf72708b
SOLR-6637: Solr should have a way to restore a core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671022 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 09:46:54 +00:00
Robert Muir
5ea36eb992
merge trunk up to r1670923
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670929 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:37:39 +00:00
Shalin Shekhar Mangar
658a131002
Log the file name for which checksum can't be read
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670818 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:29:22 +00:00
Shalin Shekhar Mangar
26c1920bfc
Fixed comment to match collection setup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670817 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:27:54 +00:00
Noble Paul
9baabd177c
SOLR-6615: Refactor code to use String constants
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 04:08:05 +00:00
Noble Paul
b9a883625b
SOLR-7337: ZkController.registerConfListenerForCore should add the dir name it can't find to the message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670808 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 02:00:41 +00:00
Robert Muir
6f70221d21
merge trunk up to r1670679
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670680 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:30:34 +00:00
Timothy Potter
f951625286
SOLR-7266: The IgnoreCommitOptimizeUpdateProcessor blocks commit requests from replicas needing to recover.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670678 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:29:42 +00:00
Robert Muir
8ba1496a83
merge trunk up to r1670672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670673 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:24:20 +00:00
Varun Thacker
ddfb4d9d00
Fix QueryResponse to deal with the expanded section when using the XMLResponseParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670569 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 06:55:06 +00:00
Shai Erera
208d0c79eb
SOLR-7325: Change Slice state into enum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670566 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 05:42:47 +00:00
Robert Muir
41ba046a93
LUCENE-6271: merge trunk changes up to r1670529
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:10:11 +00:00
Ryan McKinley
33fc7b5046
Merged revision(s) 1670525-1670526 from lucene/dev/branches/branch_5x:
...
SOLR-7331: revert unintentional change
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670527 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:37:43 +00:00
Ryan McKinley
183c5dd933
Merged revision(s) 1670522 from lucene/dev/branches/branch_5x:
...
SOLR-7329: show core in logging UI
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670523 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:24:35 +00:00
Varun Thacker
02b8907124
LUCENE-6378: Fix all RuntimeExceptions to throw the underlying root cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670453 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:54:37 +00:00