Dawid Weiss
a77d67a926
SOLR-8711: follow-up removal of dependencies no longer used.
2016-02-23 10:49:23 +01:00
Christine Poerschke
b14fb50b7f
SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
...
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Christine Poerschke
588e3ff084
SOLR-8621: fix mergePolicyFacory vs. mergePolicyFactory typos in comments in solr/contrib and solr/example solrconfig.xml files.
2016-02-10 21:22:17 +00:00
Shai Erera
a5accccbfc
SOLR-8621: fix solrconfig.xml under contrib and example
2016-02-10 16:33:01 +02:00
Uwe Schindler
0f43705788
LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back)
2016-02-04 23:02:50 +01:00
Shai Erera
813ca77250
LUCENE-7013: Move license header to top of file
2016-02-04 15:51:19 +02:00
Noble Paul
13c9912b3c
SOLR-8618 refactored a couple of methods out as protected
2016-01-31 18:44:39 +05:30
Uwe Schindler
4efccce1f1
LUCENE-6978: Fix usage of Locale#toString in DIH
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726311 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:05:40 +00:00
Uwe Schindler
7213e7cfc0
LUCENE-6978: Fix Morphlines locale parsing with empty string / null: use ROOT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726118 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 22:16:55 +00:00
Michael McCandless
24c46305bd
LUCENE-6971: remove StorableField, StoredDocument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Uwe Schindler
f5b0e537b4
LUCENE-6978: Refactor several code places that lookup locales by string name to use BCP47 locale tag instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724891 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 22:41:57 +00:00
Tommaso Teofili
8a7a142efb
SOLR-6622 - using all field values in UIMAUpdateRequestProcessor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723982 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 08:12:37 +00:00
Christine Poerschke
2580956b8b
SOLR-8505: core/DirectoryFactory.LOCK_TYPE_HDFS - add & use it instead of String literals
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723751 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:59:36 +00:00
Shalin Shekhar Mangar
7bfb2a2949
SOLR-8220: Read field from DocValues for non stored fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Christine Poerschke
c4db8d57a4
SOLR-8317: use responseHeader and response accessors to SolrQueryResponse
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721170 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 14:39:21 +00:00
Michael McCandless
7da175b0b6
LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Uwe Schindler
80d07524ee
PDFBOX-3155: Disable tests that fail with new Java 9 version number scheme
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718439 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 18:46:10 +00:00
Varun Thacker
695870d7a2
SOLR-8131: fix test solrconfig.xml files for the contrib modules
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718307 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 11:18:31 +00:00
Varun Thacker
0e886c19fa
SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718258 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 07:32:41 +00:00
Anshum Gupta
6caaa0c454
SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
David Wayne Smiley
ce0363c0ad
SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Alan Woodward
e5be9136a6
SOLR-8336: CoreDescriptor takes a Path for its instance dir, rather than a String
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717254 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 14:02:45 +00:00
Erik Hatcher
255ff56d4e
SOLR-8307: move EmptyEntityResolver to another package to avoid conflict with solr-core and javadoc generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:25:00 +00:00
Alan Woodward
0f3aecfdff
SOLR-8302: SolrResourceLoader takes a Path for its instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Gregory Chanan
b916bbc50a
SOLR-8286: Remove instances of solr.hdfs.blockcache.write.enabled from tests and docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714278 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 23:45:44 +00:00
Alan Woodward
f43daa0163
SOLR-8260: Remove morphlines test setup with wrongly configured core discovery roots
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713563 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 22:36:31 +00:00
Chris M. Hostetter
ecf410f413
SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712979 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 15:45:50 +00:00
Chris M. Hostetter
d207e8c39a
SOLR-8239: reverting r1712840 from trunk -- backport to 5x was more complicated then I expected because aparently DefaultSimilarity deprecation with ClassicSimilarity was never backported? want to clarify/resolve that before moving forward here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:44:13 +00:00
Chris M. Hostetter
2a24085bcd
SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712840 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:19:54 +00:00
Christine Poerschke
4d1a16ff3c
SOLR-8147: contrib/analytics FieldFacetAccumulator now throws IOException instead of SolrException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712751 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 12:13:34 +00:00
Alan Woodward
43cd1639f5
LUCENE-6884: Analyzer.tokenStream() and Tokenizer.setReader() don't need to throw IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712731 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 10:00:11 +00:00
Uwe Schindler
74f354a5a1
SOLR-8166: Add some null checks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712677 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 22:32:00 +00:00
Uwe Schindler
6f5b28be8a
SOLR-8166: Introduce possibility to configure ParseContext in ExtractingRequestHandler/ExtractingDocumentLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712629 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 20:13:40 +00:00
Shalin Shekhar Mangar
ab3c1a48cd
SOLR-7843: DataImportHandler's delta imports leak memory because the delta keys are kept in memory and not cleared after the process is finished
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710078 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 19:14:24 +00:00
Erik Hatcher
33850419bd
SOLR-8128: Set v.locale specified locale for all LocaleConfig extending VelocityResponseWriter tools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708406 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 14:32:59 +00:00
Adrien Grand
b3d191832c
LUCENE-6301: Removal of org.apache.lucene.Filter.
...
From a Lucene perspective Filter is gone. However it was still used for things
like DocSet and SolrConstantScoreQuery in Solr, so it has been moved to
the oas.search package for now, even though in the long term it would be nice
for Solr to move to the Query API entirely as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 12:15:07 +00:00
Uwe Schindler
b57234a745
LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Uwe Schindler
b8a213ccf7
LUCENE-6795: Forbid AccessibleObject#setAccessible and suppress legitimate uses / wrap with doPrivileged
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702690 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:07:11 +00:00
Erik Hatcher
d8b7f5a62c
SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702652 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:38:42 +00:00
Erik Hatcher
d99af904e5
SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702650 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:31:34 +00:00
Erik Hatcher
48907ceed1
SOLR-8041: Fix VelocityResponseWriter's .get(key,baseName,locale) to use specified locale
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702516 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 16:48:17 +00:00
Erik Hatcher
06c9ed5c5d
SOLR-7915: Provide pluggable context tool support for VelocityResponseWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700691 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 00:12:56 +00:00
Erik Hatcher
cf3644e72b
comment typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700688 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 00:05:55 +00:00
Mark Robert Miller
431ed53d46
SOLR-7956: Remove a few more interrupt causes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700185 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 02:22:09 +00:00
Yonik Seeley
db78023736
SOLR-7957: expand ResultContext to allow for multiple DocLists per response, remove redundant TransformContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698421 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:24:44 +00:00
Erik Hatcher
c018ffffea
Fix #field macro to comma separate multiple values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697802 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:30:51 +00:00
Erik Hatcher
306d7f4198
SOLR-7972: Fix VelocityResponseWriter template encoding issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697789 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 00:15:18 +00:00
Mark Robert Miller
d27a016088
tests: tone down nightly runs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 15:00:46 +00:00
Mark Robert Miller
4c241b2b3d
tests: tone down nightly runs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697679 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 14:11:38 +00:00
Dawid Weiss
9cf70a3afd
SOLR-7969: Unavailable clustering engines should not fail the core.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697661 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 12:21:39 +00:00
Dawid Weiss
c1dc2fb6a6
SOLR-7790, SOLR-7792, SOLR-7791: Update Carrot2 clustering component to version 3.10.3. Upgrade HPPC library to version 0.7.1, morfologik-stemming to version 1.10.0. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697345 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 09:53:04 +00:00
Uwe Schindler
1331a57e3d
LUCENE-6732: Remove tabs in JS and XML files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler
f0654e355e
LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Ramkumar Aiyengar
b4aafbb606
SOLR-7859: Clamp down on use of System.currentTimeMillis
...
- Use RTimer where currentTimeMillis is used for timing
- Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
is used to timeout operations.
- Used `new Date()` in some cases where that is the logical intent.
- Deprecated a couple of APIs which were publicly exposing epoch time,
in favour of Date objects to make the intent clearer.
- A couple of cases had currentTimeMillis in dead code.
- In some cases where currentTimeMillis was used to just generate a name,
used nanoTime instead (really it should be some sequence/random number
in such a case).
- In some other cases where stamps were used for SQL queries, HTTP headers,
comparing against data in external files, ZK etc., used SuppressForbidden.
- Also currently allow the use of currentTimeMillis in commit data,
this is then used in replication -- this is concerning since absolute
times are being compared, but that can be dealt with separately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Tommaso Teofili
fc51829543
SOLR-7760 - fixed method visibility in UimaUpdateRP and SolrUimaConfiguration
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694616 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:28:35 +00:00
Shalin Shekhar Mangar
2a8bef841a
SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Uwe Schindler
3e406606ed
SOLR-7227: Don't create the WAR file at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693143 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:04:21 +00:00
Shalin Shekhar Mangar
8649f3f3bd
SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Uwe Schindler
50f168ed4c
SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Mark Robert Miller
f917ac900f
SOLR-7805: Update Kite Morphlines to 1.1.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691626 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 19:07:26 +00:00
Michael McCandless
a6301dd900
LUCENE-6659: remove IWC's max thread states limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Adrien Grand
2919e13adc
LUCENE-6649: Remove dependency of lucene/join on Filter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 15:48:28 +00:00
Uwe Schindler
1816ed1945
LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Adrien Grand
35c0ff0ec6
LUCENE-6583: Remove FilteredQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand
4aafacfbef
LUCENE-6570: Make BooleanQuery immutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Mark Robert Miller
ed6fd884b0
SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684494 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 18:18:10 +00:00
Erik Hatcher
867c75a5d9
Remove explicitly defined request handlers from example and test solrconfig's that are already defined implicitly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684080 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 22:31:26 +00:00
Uwe Schindler
a8cf56b222
LUCENE-6530: Refactoring: Simplify ProcessBuilder code at various places
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684040 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 15:49:10 +00:00
Erik Hatcher
f2291c1356
Add as-you-type instant search to example/files /browse
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 15:05:20 +00:00
Robert Muir
fe6c3dc939
LUCENE-6508: Simplify directory/lock API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683606 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 18:20:44 +00:00
Erik Hatcher
1edc686c42
SOLR-7610: Fix VelocityResponseWriter's .locale to accurately report locale in use
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 13:44:06 +00:00
Shalin Shekhar Mangar
7288912750
SOLR-7532: Removed occurrences of the unused 'commitIntervalLowerBound' property for updateHandler elements from Solr configuration
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 09:58:44 +00:00
Noble Paul
105222b3a8
SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678250 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 18:31:35 +00:00
Chris M. Hostetter
6e14814eaa
SOLR-4392: revert r1678195 which breaks forbidden-api
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678242 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:44:44 +00:00
Noble Paul
3e20086499
SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678195 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:33:23 +00:00
Noble Paul
bd8b77f9bb
SOLR-7231: DIH-TikaEntityprocessor, create lat-lon field from Metadata
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677001 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 14:20:51 +00:00
Shalin Shekhar Mangar
a64266193a
SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +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
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
Shai Erera
f4bc84cade
SOLR-7317: Remove jhighlight.jar which contains LGPL-only code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669449 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 21:36:56 +00:00
Mark Robert Miller
84adc8604d
SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Shalin Shekhar Mangar
8d64c08c1a
SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Yonik Seeley
3dc5ed33c5
SOLR-7214: JSON Facet API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Noble Paul
40a1d7e22c
SOLR-6892: Improve the way update processors are used and make it simpler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666436 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:13:15 +00:00
Shalin Shekhar Mangar
389992cf99
SOLR-4464: DIH Processed documents counter resets to zero after first entity is processed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665110 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 01:59:40 +00:00
Shalin Shekhar Mangar
b730cdaa49
SOLR-7189: Allow DIH to extract content from embedded documents via Tika
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665099 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 00:16:25 +00:00
Alan Woodward
739e9b489d
SOLR-7179: Stop using sysprops to configure test jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Noble Paul
c1c593a0ad
SOLR-7174: DIH should reset TikaEntityProcessor so that it is capable of re-use
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663857 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 05:09:29 +00:00
Chris M. Hostetter
821ab8b0d9
SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Alan Woodward
d7eefdd7a7
SOLR-7151: SolrClient query methods throw IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Noble Paul
6c84653e08
remove the hack to get the DIH handler name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662663 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 11:42:22 +00:00
Uwe Schindler
09a0dcb6c6
SOLR-7139: Fix SolrContentHandler for TIKA to ignore multiple startDocument events
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662457 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:26:38 +00:00
Alan Woodward
46ede7622e
SOLR-7166: Encapsulate JettySolrRunner config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Adrien Grand
2cd3fb807d
LUCENE-6286: Removed IndexSearcher methods that take a Filter object.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662059 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:43:10 +00:00
Adrien Grand
bd89330adf
LUCENE-6268: Replace FieldValueFilter and DocValuesRangeFilter with equivalent queries that support approximations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661156 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 16:36:46 +00:00
Alan Woodward
f013c438ee
SOLR-7125: Allow upload and download of configs via CloudSolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Erick Erickson
6d68694ce5
SOLR-7032: Clean up tests remnanat of old-style solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 04:11:48 +00:00
Noble Paul
9a77ceee6a
SOLR-7076: TikaEntityProcessor should have support for onError=skip
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658664 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 10:49:11 +00:00
Robert Muir
12b30db6ce
LUCENE-4797: fix remaining html violations, engage linter in solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand
87b7393360
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Noble Paul
2eaad8e89b
SOLR-5890: Delete silently fails if not sent to shard where document was
...
added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658486 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:00:25 +00:00
Steven Rowe
77bf475f97
LUCENE-6044: removed one last (for realz this time) enablePositionIncrements mention from a test schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658000 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 00:16:39 +00:00
Steven Rowe
6c68cedd50
LUCENE-6044: removed one last enablePositionIncrements mention from a test schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657994 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 23:42:17 +00:00
Steven Rowe
513cefa5e9
LUCENE-6044: add CHANGES entry on trunk; remove mention of enablePositionIncrements from test schemas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657992 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 23:31:48 +00:00
Robert Muir
010e352f60
LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Steven Rowe
639f72ee71
fix typo in exception message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657438 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 22:39:21 +00:00
Alan Woodward
3018576b67
SOLR-6954: SolrClient implements Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Steven Rowe
b1a127b6c5
SOLR-6856: fix preceding whitespace for attribute values dumped into the catch-all field.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654444 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 01:07:07 +00:00
Steven Rowe
6dcfa17adc
SOLR-6856: Restore ExtractingRequestHandler's ability to capture all HTML tags when parsing (X)HTML.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654431 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 23:44:45 +00:00
Erick Erickson
7fda449473
SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Steven Rowe
6b807173d3
SOLR-6991,SOLR-6387: Under Turkish locale, don't run solr-cell and dataimporthandler-extras tests that use Tika
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653704 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 23:47:19 +00:00
Shalin Shekhar Mangar
ad298b70cf
SOLR-7014: Collapse identical catch branches in try-catch statements in morphlines-core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653697 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 23:26:25 +00:00
Shalin Shekhar Mangar
0961e4179d
SOLR-7014: Collapse identical catch branches in try-catch statements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653665 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 21:39:15 +00:00
Alan Woodward
344be1a6b1
SOLR-6976: Remove methods and classes deprecated in 4.x
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Erik Hatcher
7844cf5cca
Fix wrong StringUtils import (merged from r1653365)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653368 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 20:52:59 +00:00
Alan Woodward
e65eb74239
SOLR-6840: Fix clustering test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653212 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 09:12:40 +00:00
Alan Woodward
e61cd9654b
SOLR-6840: Remove support for old-style solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Uwe Schindler
cb558014e5
SOLR-6799: Update Saxon-HE to 9.6.0-2 (part 2)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652956 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 10:34:56 +00:00
Uwe Schindler
a4d74500e7
SOLR-6996: Add a test for ODF files in ExtractingRequestHandlerTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652944 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 09:22:06 +00:00
Uwe Schindler
426afa7b93
SOLR-6489: Disable only failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652747 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 13:00:09 +00:00
Uwe Schindler
503e738f77
SOLR-6991: Update to Apache TIKA 1.7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652742 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:48:17 +00:00
Erik Hatcher
22d0422663
Fix Solr smoke tests: SYSTEM_REQUIREMENTS no longer exists where it was testing for it (merged from r1652718)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652721 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:02:59 +00:00
Noble Paul
df42c143bb
SOLR-5147 addressing the OOM failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652618 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:51:53 +00:00
Noble Paul
9483635648
SOLR-5147 remove forbidden API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652426 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 15:11:40 +00:00
Noble Paul
e32c7b7db9
SOLR-5147 Support child documents in DIH
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652360 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 08:33:35 +00:00
Adrien Grand
457e70ab94
LUCENE-6179: Disallow out-of-order scoring.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:35:20 +00:00
Erik Hatcher
4ed87ec42f
SOLR-1723: polished the content-type capability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650831 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 23:40:57 +00:00
Erik Hatcher
ae0c13fae8
SOLR-1723: VelocityResponseWriter improvements
...
SOLR-2035: Add a VelocityResponseWriter $resource tool for locale-specific string lookups.
Lots of VrW code cleanup, more and improved test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650685 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 22:32:50 +00:00
Mark Robert Miller
b870aed9b9
SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown in tests and regular code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:33:04 +00:00
Shalin Shekhar Mangar
e13e0de583
SOLR-6897: Nuke non-NRT mode from code and configuration
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649810 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 14:28:08 +00:00
Erick Erickson
633fecf787
SOLR-6907, corrected patch, URLEncode documents directory in MorphlineMapperTest to handle spaces etc in file name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649455 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 01:45:07 +00:00
Erick Erickson
75e1cafacf
SOLR-6907: URLEncode documents directory in MorphlineMapperTest to handle spaces etc in file name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649383 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 19:00:46 +00:00
David Wayne Smiley
8fd247cc0e
SOLR-6797: spatial distanceUnits=degrees|kilometers|miles
...
units=degrees is now deprecated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649243 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 20:09:36 +00:00
Alan Woodward
4a6d85790a
SOLR-6895: Remove SolrServer classes from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648710 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:49:20 +00:00
Alan Woodward
ef809a0f10
SOLR-6895: Deprecate SolrServer classes and replace with SolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648697 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:05:48 +00:00
Erik Hatcher
fde2508de7
Update logo/style in generic templates (already fixed for techproducts)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648467 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 02:21:17 +00:00
Erik Hatcher
0ff1e75b74
SOLR-6779 (fix /browse on schemaless example) and several other related fixes and cleanups including remove /browse from test configs where it isn't needed, adjusting /browse definition to be valid and not an inappropriate copy of techproducts, fixed /update/extract indexing with data_driven_schema_configs configset, and fixed indexing of solr(-to-solr) example DIH indexing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648456 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 00:50:57 +00:00
Erik Hatcher
e5c766891d
SOLR-3711: Truncate long strings in field facets in generic facet_fields.vm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648044 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 10:18:21 +00:00
Erik Hatcher
9159eede8f
SOLR-3711: Truncate long strings in /browse field facets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648041 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 10:11:06 +00:00
Erik Hatcher
31fdda2f43
SOLR-6779: add trimmed /browse templates to Velocity contrib JAR, making them available to any VrW using system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648030 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 01:11:47 +00:00
Steven Rowe
975dbe134e
LUCENE-6134: fix typos: wether->whether, neccessary->necessary, initalize->initialize, specifed->specified, etc. (thanks Ahmet Arslan\!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647795 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 14:33:59 +00:00
Steven Rowe
2189b7a761
LUCENE-6134: fix typos: it's->its, its->it's, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Erick Erickson
2d93746254
SOLR-6826: fieldType capitalization is not consistent with the rest of case-sensitive field names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645349 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 20:49:03 +00:00
Erik Hatcher
7faa543ae0
SOLR-6829: Added getter/setter for lastException in DIH's ContextImpl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643857 13f79535-47bb-0310-9956-ffa450edef68
2014-12-08 16:41:17 +00:00
Chris M. Hostetter
95e75230e4
SOLR-6560: Purge termIndexInterval from example/test configs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643381 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:30:25 +00:00
Steven Rowe
d72e3dfb0f
SOLR-3881: Avoid OOMs in LanguageIdentifierUpdateProcessor:
...
- Added langid.maxFieldValueChars and langid.maxTotalChars params to limit
input, by default 10k and 20k chars, respectively.
- Moved input concatenation to Tika implementation; the langdetect
implementation instead appends each input piece via the langdetect API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643377 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:22:30 +00:00
Adrien Grand
846e457684
SOLR-4799: Fix javadocs generation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643351 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 16:53:32 +00:00
Noble Paul
83f0d3578c
SOLR-4799 faster join using join=zipper aka merge join for nested DIH EntityProcessors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643097 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 11:56:26 +00:00
Chris M. Hostetter
1d57269643
SOLR-6780: Fixed a bug in how default/appends/invariants params were affecting the set of all keys found in the request parameters, resulting in some key=value param pairs being duplicated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642727 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 18:09:56 +00:00
Robert Muir
46e8f846c5
LUCENE-6080: remove some deprecations from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642374 13f79535-47bb-0310-9956-ffa450edef68
2014-11-28 23:05:14 +00:00