Commit Graph

967 Commits

Author SHA1 Message Date
Uwe Schindler d8442070cf SOLR-10235: fix precommit 2017-03-07 22:07:13 +01:00
Uwe Schindler 0d2c027857 SOLR-10235: Fix DIH's TestJdbcDataSource to work with Java 9 and other Java runtimes that do not use the same DriverManager implementation like Oracle's original one 2017-03-07 19:01:15 +01:00
Adrien Grand 7453f78b35 LUCENE-6819: Make ExtractingRequestHandlerTest not rely on index-time boosts. 2017-03-03 21:43:50 +01:00
Adrien Grand 8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
markrmiller c53b7c33b0 SOLR-10195: Harden AbstractSolrMorphlineZkTestBase based tests. 2017-02-22 19:50:19 -05:00
markrmiller f2f8154d0b SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request. 2017-02-22 09:50:28 -05:00
Alan Woodward ac38872a79 LUCENE-7628: Scorer.getChildren() returns only matching child scorers 2017-02-21 13:44:25 +00:00
Uwe Schindler 7e30fe1471 SOLR-9966: Do test-ignore properly 2017-02-19 12:20:56 +01:00
Cao Manh Dat 54303260aa SOLR-9966: Fix previous commit bug 2017-02-19 15:19:57 +07:00
Cao Manh Dat 46ef9256b4 SOLR-9966: Convert/migrate tests using EasyMock to Mockito 2017-02-19 07:00:40 +07:00
Ishan Chattopadhyaya 9a1702a8f5 SOLR-8029: Reverting the previous commit and the merge 2017-02-15 07:13:28 +05:30
Noble Paul 325cbf0018 Revert "Merge remote-tracking branch 'origin/master'"
This reverts commit 26298f35df, reversing
changes made to 65c6c576b7.

undoing the merge commit
2017-02-14 17:32:14 -08:00
Christine Poerschke 738da0998a LUCENE-7693: Replace "org.apache." logic in GetMavenDependenciesTask. (Daniel Collins, Christine Poerschke) 2017-02-14 14:27:44 +00:00
markrmiller 387c8e9c2d SOLR-10072: The test TestSelectiveWeightCreation appears to be unreliable. 2017-02-12 17:04:23 -05:00
Christine Poerschke c20853bf09 SOLR-10083: Fix instanceof check in ConstDoubleSource.equals (Pushkar Raste via Christine Poerschke) 2017-02-08 17:18:02 +00:00
Tomas Fernandez Lobbe 59c41e2a6c SOLR-10011: Add NumberType getNumberType() to FieldType and deprecate LegacyNumericType getNumericType()
Modify references to getNumericType() to use the new getNumberType(). NumberType is shared for the different numeric implementations supported in Solr (TrieFields and PointFields).
CC SOLR-8396
2017-02-07 10:38:22 -08:00
Christine Poerschke f47bbb35ae SOLR-10077: merge TestFeatureStore and TestFeatureLtrScoringModel into TestManagedFeatureStore. 2017-02-06 17:26:56 +01:00
markrmiller 730df22e40 SOLR-10032: Ignore tests that run no test methods. 2017-01-31 19:27:03 -05:00
Alan Woodward 94e3460305 Revert "LUCENE-7628: Scorer.getChildren() returns only matching Scorers"
This reverts commit 5bdc492c9c.
2017-01-23 11:30:03 +00:00
Alan Woodward 5bdc492c9c LUCENE-7628: Scorer.getChildren() returns only matching Scorers 2017-01-23 09:35:16 +00:00
Adrien Grand 71ca2a84ba LUCENE-7643: Move IndexOrDocValuesQuery to core. 2017-01-20 13:42:31 +01:00
Uwe Schindler 4eafdb337a SOLR-9893: Update Mockito to version 2.6.2 for Java 9 support. Disable all legacy EasyMock tests when running on Java 9 until they were migrated to Mockito 2017-01-14 12:43:24 +01:00
Christine Poerschke 987e2650b5 SOLR-8542: changed Solr Reference Guide section references from "Result Reranking" to "Learning To Rank"
(Also added bullet points for the solr/contrib/ltr/README links.)
2017-01-12 17:56:18 +00:00
Christine Poerschke 024c4031e5 SOLR-8542: expand 'Assemble training data' content in solr/contrib/ltr/README
(Diego Ceccarelli via Christine Poerschke in response to SOLR-9929 enquiry from Jeffery Yuan.)
2017-01-06 20:52:21 +00:00
Christine Poerschke eb2a8ba2ee SOLR-8542: README and solr/contrib/ltr/example changes
details:
* reduced README in favour of equivalent Solr Ref Guide content and (new) example/README
* solr/contrib/ltr/example improvements and fixes

also:
* stop supporting '*' in Managed(Feature|Model)Store.doDeleteChild
2017-01-04 17:12:38 +00:00
Mikhail Khludnev cc862d8e67 SOLR-9668: introduce cursorMark='true' for SolrEntityProcessor 2016-12-30 20:50:53 +03:00
Mikhail Khludnev 5c8a70fb57 SOLR-9725: substitute properties in JdbcDataSource configuration 2016-12-25 12:41:27 +03:00
Christine Poerschke f62874e47a SOLR-8542: change default feature vector format (to 'dense' from 'sparse')
also: increase test coverage w.r.t. 'sparse' vs. 'dense' vs. 'default' feature vector format
2016-12-23 13:45:16 +00:00
Christine Poerschke ac3f1bb339 SOLR-8542: reduce direct solrconfig-ltr.xml references in solr/contrib/ltr tests 2016-12-23 12:57:15 +00:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Tomas Fernandez Lobbe 84bbb8f797 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 16:54:13 -08:00
Christine Poerschke c8542b2bd0 SOLR-8542: techproducts example now includes (disabled) learning-to-rank support (enable via -Dsolr.ltr.enabled=true)
additional changes as follows:

* LTRFeatureLoggerTransformerFactory:
** feature values cache name configurable (instead of hard-coded value that needs to match solrconfig.xml configuration)
** javadocs (example and parameters)

* CSV FeatureLogger:
** removed delimiter and separator assumptions in tests
** changed delimiter and separator (from "key:val;key:val" to "key=val,key=val")
** configurable (key value) delimiter and (features) separator

* JSON FeatureLogger:
** defer support for this (removing MapFeatureLogger class)

* adds 'training libraries' to (Linear|MultipleAdditiveTrees)Model javadocs

(Diego Ceccarelli, Michael Nilsson, Christine Poerschke)
2016-12-19 16:22:50 +00:00
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Christine Poerschke bfc3690d52 SOLR-8542: couple of tweaks (Michael Nilsson, Diego Ceccarelli, Christine Poerschke)
* removed code triplication in ManagedModelStore
* LTRScoringQuery.java tweaks
* FeatureLogger.makeFeatureVector(...) can now safely be called repeatedly (though that doesn't happen at present)
* make Feature.FeatureWeight.extractTerms a no-op; (OriginalScore|SolrFeature)Weight now implement extractTerms

* LTRThreadModule javadocs and README.md tweaks

* add TestFieldValueFeature.testBooleanValue test; replace "T"/"F" magic string use in FieldValueFeature
* add TestOriginalScoreScorer test; add OriginalScoreScorer.freq() method
* in TestMultipleAdditiveTreesModel revive dead explain test
2016-12-07 20:46:42 +00:00
Christine Poerschke d2ed42b847 removed two unused imports in TestPlainTextEntityProcessor.java 2016-12-07 18:39:04 +00:00
Noble Paul 3f6164c76e added an extra testcase 2016-12-07 18:42:07 +05:30
Tommaso Teofili 641294a967 SOLR-8871 - adjusted UIMA processor test, patch from Alessandro Benedetti 2016-11-28 09:20:02 +01:00
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Shalin Shekhar Mangar ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
Christine Poerschke 86a515789f SOLR-8542, SOLR-9746: prefix solr/contrib/ltr's search and response.transform packages with ltr 2016-11-11 19:18:00 +00:00
Michael Nilsson 2c752b04cb SOLR-8542: disallow reRankDocs<1 i.e. must rerank at least 1 document
(Michael Nilsson via Christine Poerschke)
2016-11-11 19:17:59 +00:00
Dawid Weiss 401d77485d SOLR-7539: Upgrade the clustering plugin to Carrot2 3.15.0. 2016-11-04 16:02:00 +01:00
Christine Poerschke 5a66b3bc08 SOLR-8542: Adds Solr Learning to Rank (LTR) plugin for reranking results with machine learning models. (Michael Nilsson, Diego Ceccarelli, Joshua Pantony, Jon Dorando, Naveen Santhapuri, Alessandro Benedetti, David Grohmann, Christine Poerschke) 2016-11-01 17:50:14 +00:00
David Smiley 2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Noble Paul 0feca1a974 general cleanup to use java 8 feautures 2016-10-27 15:05:07 +05:30
Noble Paul d6b6e74703 SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if the 'forEach' or 'xpath' attributes are templates & it is not a root entity 2016-10-27 14:52:24 +05:30
Shalin Shekhar Mangar b8d9647307 SOLR-2039: Multivalued fields with dynamic names does not work properly with DIH 2016-10-26 11:02:10 +05:30
Noble Paul 127bf9f772 SOLR-9657: Use cache for templates 2016-10-20 20:06:21 +05:30
Noble Paul c2e031add3 SOLR-9657: New TemplateUpdateProcessorFactory added 2016-10-19 11:04:10 +05:30
Noble Paul 5c5c0c93ae SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler implicit 2016-09-28 20:04:04 +05:30
Noble Paul 65439e261e SOLR-9558: DIH TemplateTransformerto to support multivalued fields 2016-09-26 12:20:44 +05:30
Mike McCandless f7aa200d40 LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements 2016-09-21 09:41:41 -04:00
Varun Thacker 5d6b7fffc3 SOLR-9522: Improve error handling in ZKPropertiesWriter 2016-09-16 18:47:06 +05:30
Varun Thacker ef3057e43b SOLR-9408: Fix TreeMergeOutputFormat to add timestamp metadata to commits 2016-09-13 10:49:27 +05:30
Noble Paul 1a61fb6858 SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' 2016-09-06 13:22:18 +05:30
Uwe Schindler e99d970674 SOLR-9430: Fix locale lookup in DIH <propertyWriter/> to use BCP47 language tags to be consistent with other places in Solr. Language names still work for backwards compatibility 2016-08-27 08:38:42 +02:00
Robert Muir 105c7eae87 LUCENE-7413: move legacy numeric support to backwards module 2016-08-17 09:28:45 -04:00
Christine Poerschke 9d784a6693 SOLR-9385: Add QParser.getParser(String,SolrQueryRequest) variant. 2016-08-09 15:04:05 +01:00
Mikhail Khludnev 209bfcf021 SOLR-9209,SOLR-9256: extracting
JdbcDataSource.createResultSetIterator(), adding a test for
ResultSetIterator.hasNext()
2016-08-02 14:45:37 +03:00
Alan Woodward 78ebcd3cf5 SOLR-9346: Always close ZkStateReader 2016-07-27 16:45:59 +01:00
Steve Rowe 85a585c516 SOLR-9076: disable broken nightly tests MorphlineBasicMiniMRTest and MorphlineGoLiveMiniMRTest via @AwaitsFix 2016-07-22 14:26:32 -04:00
Christine Poerschke f9c9470641 SOLR-9306: give solr/contrib/analysis-extras's test classes access to lucene/analysis's test classes 2016-07-14 10:20:35 +01:00
Noble Paul 74de196565 SOLR-8995: Use Lamdas for Thread/Runnable 2016-07-11 19:29:15 +05:30
Erick Erickson db295440a6 SOLR-7903: Comment out trappy references to example docs in elevate.xml files 2016-07-06 14:50:43 -07:00
Alan Woodward c38cdedbf2 SOLR-9076: Fix ivy config to pass precommit 2016-07-01 16:13:30 +01:00
markrmiller 2c96c91dd8 SOLR-9076: Add some missing dependencies. 2016-07-01 09:06:15 -04:00
Gregory Chanan f273cb1b3a SOLR-9076: Update to Hadoop 2.7.2 2016-06-23 13:41:15 -07:00
markrmiller 740198f33d SOLR-9219: Make hdfs blockcache read buffer sizes configurable and improve cache concurrency. 2016-06-21 13:06:10 -04:00
Steve Rowe 2d96fe17d6 SOLR-9220: Disable failing tests 2016-06-18 16:10:37 -04:00
Uwe Schindler 19cb7404f5 SOLR-8981: Update TIKA to 1.13:
- This commit merges branch 'SOLR-8981' of https://github.com/tballison/lucene-solr
- Adds some modifications and reverts jackcess-encrypt addition (not yet working)
- Fixes order of ivy-versions.properties
- This closes #44
2016-06-18 12:23:28 +02:00
tballison dd09f0f42b SOLR-8981 add jackcess-encrypt 2016-06-17 15:32:19 -04:00
tballison 785bebbcbd SOLR-8981 remove "don't test with java-9" commands; fix bug introduced by TIKA-995 -- doubling of body elements in HTML tags; add copyright info for Jackcess. 2016-06-17 14:40:21 -04:00
tballison ba0e717034 SOLR-8981 upgrade to Tika 1.13 2016-06-16 12:56:45 -04:00
Mike McCandless 87016b5f0c LUCENE-7318: graduate StandardAnalyzer and make it the default for IndexWriterConfig 2016-06-14 16:38:04 -04:00
Christine Poerschke 52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Mikhail Khludnev fce10ae109 SOLR-2199: DataImportHandler (DIH) JdbcDataSource supports multiple resultsets per query 2016-06-13 00:11:27 +03:00
Uwe Schindler 3c9e36b1e1 SOLR-8610: Fix temporary dir usage in DIH 2016-06-07 10:51:41 +02:00
Mikhail Khludnev a9dea9a983 SOLR-8445: fix line separator in log4j.properties files 2016-06-07 00:21:49 +03:00
Mikhail Khludnev c2aea1b803 SOLR-8610: Resolve variables in encryptKeyFile of DIH's JdbcDataSource 2016-06-06 23:41:02 +03:00
Mikhail Khludnev 24fa92959d SOLR-8612: closing JDBC Statement on exceptions from JdbcDataSource in DataImportHandler aka DIH (Kristine Jetzke via Mikhail Khludnev) 2016-06-06 21:40:56 +03:00
Mike McCandless baa5344e68 LUCENE-7283: move SlowCompositeReaderWrapper and uninverting to solr 2016-05-25 05:36:32 -04:00
David Smiley 4193e60b9f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
2016-05-13 10:03:24 -04:00
Alan Woodward 927454b8a2 SOLR-9072: Move morphline-core zk tests to SolrCloudTestCase 2016-05-13 14:39:07 +01:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
David Smiley 5e5fd66257 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
2016-03-30 15:00:29 -04:00
David Smiley 39932f5758 SOLR-8904: fix accidental move of DateUtil to ExtractingDateUtil (wrong patch file) 2016-03-30 14:31:26 -04:00
David Smiley 94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
Uwe Schindler 91424ae963 SOLR-8874, SOLR-8876: Disable more Hadoop tests with Java 9 2016-03-20 10:41:05 +01:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
Noble Paul faa0586b31 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:34:50 +05:30
Noble Paul e70c638bcf SOLR-8766: deprecated <admin> tag in solrconfig.xml is removed 2016-03-08 18:53:59 +05:30
Shalin Shekhar Mangar 093a8ce57c SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection) 2016-03-07 15:03:03 +05:30
Robert Muir 3ffeccab7e LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils 2016-03-03 21:52:12 -05:00
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Tomás Fernández Löbbe 20b7453cc8 SOLR-8713: new UI and example solrconfig files point to Reference Guide for Solr Query Syntax instead of the wiki.
This closes #12
2016-02-29 08:22:25 -08:00
Dawid Weiss 4c9dca8d90 SOLR-8711: follow-up removal of dependencies no longer used. (applying
again, with changes to the sources).

This reverts commit 594fb908f6.
2016-02-24 09:27:06 +01:00
Dawid Weiss 594fb908f6 Revert "SOLR-8711: follow-up removal of dependencies no longer used."
This reverts commit a77d67a926.
2016-02-24 09:08:18 +01:00
Dawid Weiss a77d67a926 SOLR-8711: follow-up removal of dependencies no longer used. 2016-02-23 10:49:23 +01:00