932 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya
6b0217b7cb SOLR-6736: Adding support for uploading zipped configsets using ConfigSets API 2017-03-29 00:44:27 +05:30
Steve Rowe
1a80e4d694 SOLR-10343: Update Solr default/example and test configs to use SynonymGraphFilterFactory 2017-03-28 11:47:02 -04:00
Adrien Grand
390ef9af9f LUCENE-7743: Avoid calling new String(String). 2017-03-28 15:35:04 +02:00
Adrien Grand
53064e46dd LUCENE-7754: Inner classes should be static whenever possible. 2017-03-28 15:35:04 +02:00
Steve Rowe
b46b8278c6 SOLR-10344: Update Solr default/example and test configs to use WordDelimiterGraphFilterFactory 2017-03-27 23:53:55 -04:00
Erick Erickson
bd01064f69 SOLR-10371: There is some spelling mistakes in the Java source code Thanks hu xiaodong" 2017-03-27 09:31:15 -07:00
David Smiley
f1aef3d12b SOLR-10304: Refactor new SolrDocumentFetcher out of SolrIndexSearcher 2017-03-24 23:01:32 -04:00
Steve Rowe
53e5f34f66 SOLR-9221: Remove Solr contribs: map-reduce, morphlines-core and morphlines-cell 2017-03-24 12:31:16 -04:00
Noble Paul
4edfc1a9c7 SOLR-6615: use constants for 'sort', 'distrib' 2017-03-23 18:12:20 +10:30
David Smiley
2502af9f3f SOLR-10286: large fields.
And refactored FieldType.checkSchemaField to call a new checkSupportsDocValues()
2017-03-16 14:58:59 -04:00
Christine Poerschke
17cc3e7dad SOLR-10283: Learning to Rank (LTR) SolrFeature to reject searches with missing efi (External Feature Information) used by fq. 2017-03-16 14:10:28 +00:00
Mike McCandless
e7b87f5b79 LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs 2017-03-15 06:08:10 -04:00
Mike McCandless
716d43eca9 LUCENE-7742: fix places where we were unboxing and then re-boxing according to FindBugs 2017-03-15 06:03:54 -04:00
Cao Manh Dat
7830462d4b SOLR-9835: Create another replication mode for SolrCloud 2017-03-14 14:37:47 +07:00
Chris Hostetter
8756be0540 SOLR-8876: change morphline test config files to work around 'importCommands' bug when using java9 2017-03-08 09:52:46 -07:00
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 26298f35df118aad186e6eaf1ea5c2e5f50d607f, reversing
changes made to 65c6c576b720b19029a10bf14f81d4de23302863.

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 5bdc492c9ca8f866d9827d83a05fbab4b95f5ce9.
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