Commit Graph

1199 Commits

Author SHA1 Message Date
David Smiley 6e0da7e2f8 SOLR-12374 Add SolrCore.withSearcher(lambda accepting SolrIndexSearcher) 2018-05-29 16:27:11 -04:00
Dawid Weiss 0e4e0096fd SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5 2018-05-25 09:16:41 +02:00
Christine Poerschke 4da0d68981 SOLR-12372: contrib/clustering (private) logger rename 2018-05-18 20:00:49 +01:00
Christine Poerschke 743651443e SOLR-11941: add @since javadoc 2018-05-18 19:54:45 +01:00
koji ee2198d6bd SOLR-12202: Fix errors in solr-exporter.cmd 2018-05-02 13:59:13 +09:00
David Smiley 1409ab8f84 SOLR-11914: Deprecated some SolrParams methods.
* toSolrParams(nl) moved to a NamedList method, which is more natural.
2018-04-23 13:26:49 -04:00
Steve Rowe 22c4b9c36f SOLR-4793: Document usage of ZooKeeper's jute.maxbuffer sysprop for increasing the file size limit above 1MB 2018-04-20 16:06:22 -04:00
Steve Rowe 29cbd031c9 Add Log and Run URPs to example OpenNLP NER URP chain 2018-04-18 14:58:54 -04:00
David Smiley 9a149ad7e7 SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
and has stream()
2018-04-13 12:05:23 -04:00
Alan Woodward 798d351034 LUCENE-8242: Deprecate createNormalizedWeight 2018-04-09 15:07:04 +01:00
Varun Thacker 41a1cbe2c3 SOLR-7887: Fix logging filePattern to use solr.log.X format 2018-04-02 10:15:12 -07:00
Andrzej Bialecki 7260d9ce71 SOLR-11882: SolrMetric registries retained references to SolrCores when closed. 2018-03-28 11:23:47 +02:00
Varun Thacker bd429347b1 SOLR-7887: Log4J2 upgrade fixes part 2 2018-03-26 16:09:04 -07:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
markrmiller ea504091e5 SOLR-10075: Remove test code. 2018-03-23 13:38:21 -05:00
markrmiller 5a61a18304 SOLR-10075: Move assumes to @BeforeTest instead of changing to if statements to prevent false fails. 2018-03-23 13:33:57 -05:00
markrmiller 848a410ca1 SOLR-10075: TestNonWritablePersistFile fails when run as a single test under root. 2018-03-23 10:35:43 -05:00
Andrzej Bialecki 3afb8b15bf SOLR-11134: This test fails reproducibly, mark it as AwaitsFix. 2018-03-20 13:47:13 +01:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
koji 122271f28d SOLR-11795: use README.txt rather than .md and add description for default values 2018-03-06 17:14:15 +09:00
koji 6d66fc04b2 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-03-05 15:36:32 +09:00
Erick ad7e94afb2 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-03 21:42:14 -08:00
Christine Poerschke c5938f79e5 SOLR-11597: Add contrib/ltr NeuralNetworkModel class.
(Michael A. Alcorn, Yuki Yano, Christine Poerschke)

Closes #270
2018-03-02 18:27:55 +00:00
Erick Erickson 1fe45606b9 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-02-26 20:35:12 -08:00
koji 4e198a2737 Revert "SOLR-11795: Add Solr metrics exporter for Prometheus"
This reverts commit 6859acc450.
2018-02-24 10:38:06 +09:00
koji 6859acc450 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-02-22 15:08:46 +09:00
koji 291248c750 Revert "SOLR-11795: Add Solr metrics exporter for Prometheus"
This reverts commit 4bfcbc5c60.
2018-02-21 00:26:03 +09:00
koji 74793a9134 Revert "SOLR-11795: avoid using static class name for logger"
This reverts commit a31a8dae2e.
2018-02-21 00:24:53 +09:00
koji a31a8dae2e SOLR-11795: avoid using static class name for logger 2018-02-20 23:29:28 +09:00
koji 4bfcbc5c60 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-02-20 17:46:47 +09:00
Uwe Schindler 02c693f371 SOLR-11971: Don't allow referal to external resources in DataImportHandler's dataConfig request parameter 2018-02-18 22:41:06 +01:00
Adrien Grand 4fb7e3d02c LUCENE-8135: Implement block-max WAND. 2018-02-15 15:13:58 +01:00
Christine Poerschke 2c8bbc8c18 SOLR-11941: Add abstract contrib/ltr AdapterModel. 2018-02-13 18:49:25 +00:00
Christine Poerschke 1a6d0f585f SOLR-11931: contrib/ltr tests: s/getCanonicalName/getName 2018-02-09 18:12:19 +00:00
Christine Poerschke a1a9341a9c SOLR-11931: Fix contrib/ltr custom inner class feature/normaliser/model persistence. 2018-02-09 17:28:17 +00:00
Christine Poerschke abf3d11332 SOLR-11480: Remove unused "Admin Extra" files and mentions. (Eric Pugh, Christine Poerschke) 2018-01-30 12:39:44 +00:00
Steve Rowe 03095ce4d2 SOLR-11592: Add OpenNLP language detection to the langid contrib 2018-01-17 11:29:17 -05:00
Alan Woodward a56cb42fde LUCENE-8012: LTR contrib needs to use float values in explanations 2018-01-02 13:56:52 +00:00
Alan Woodward c1030eeb74 LUCENE-8012: Explanation takes Number rather than float 2018-01-02 11:06:59 +00:00
Erick Erickson 7e321d70df SOLR-11701: Upgrade to Tika 1.17 when available 2017-12-24 17:03:00 -08:00
Steve Rowe 565d13c96d LUCENE-2899: Fix hyperlink text 2017-12-15 11:42:08 -05:00
Steve Rowe f5c4276163 LUCENE-2899: Fix hyperlink 2017-12-15 11:41:15 -05:00
Steve Rowe 3e2f9e62d7 LUCENE-2899: Add OpenNLP Analysis capabilities as a module 2017-12-15 11:24:18 -05:00
Adrien Grand 4fc5a872de LUCENE-4100: Faster disjunctions when the hit count is not needed. 2017-12-07 10:49:39 +01:00
Christine Poerschke 64b3a5bb4b SOLR-11250: A new DefaultWrapperModel class for loading of large and/or externally stored LTRScoringModel definitions. (Yuki Yano, shalin, Christine Poerschke) 2017-11-28 14:55:57 +00:00
Alan Woodward 183571c085 LUCENE-6278: Remove Scorer.freq() 2017-11-15 11:14:16 +00:00
Steve Rowe c3513e9281 SOLR-11231: Guard against unset fields when performing language detection. This closes #232 2017-11-13 17:57:24 -05:00
Alan Woodward 276e317e94 LUCENE-8042: Add SegmentCachable interface 2017-11-10 12:17:50 +00:00
Uwe Schindler 3ab1a07662 SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10) 2017-11-04 19:37:28 +01:00
Christine Poerschke b43dcde267 SOLR-11603: Remove unused (public) LTRScoringModel.hasParams() method. 2017-11-03 21:31:16 +00:00
Alan Woodward a886a001a4 LUCENE-8017: Add Weight.getCacheHelper() 2017-11-03 10:40:14 +00:00
Christine Poerschke 309481f6ec SOLR-11461: change contrib/ltr test-files away from luceneMatchVersion 6.0.0 2017-10-30 18:03:25 +00:00
Cassandra Targett 01b8cd8d44 SOLR-11135: remove cwiki.apache.org references in javadocs 2017-10-25 09:59:02 -05:00
Alexandre Rafalovitch 17d340055f SOLR-11490: Add missing @since tags
To all descendants of UpdateRequestProcessorFactory
2017-10-17 22:24:35 -04:00
Houston Putman 86d84bff82 SOLR-11145, SOLR-11146: Added comprehensive unit tests for Analytics Component 2.0 as well as analytics bug fixes. 2017-10-17 13:52:02 -04:00
Shalin Shekhar Mangar 9d2f0cf254 SOLR-10335: Merge branch 'SOLR-10335' of https://github.com/tballison/lucene-solr 2017-10-13 20:24:25 +05:30
Uwe Schindler 7b313bb597 SOLR-11482: RunExecutableListener was removed for security reasons 2017-10-13 13:48:18 +02:00
tballison 605304d927 tika's default was switched to "process embedded" -- need to send EmptyParser
into ParseContext now to turn off parsing of embedded documents

add curvesapi for vsdx and unit test.
2017-10-10 08:23:59 -04:00
tballison 4c7ff73c98 Merge remote-tracking branch 'upstream/master' into SOLR-10335 2017-10-05 12:51:03 -04:00
tballison a5c4777314 SOLR-10335 -- Upgrade to Tika 1.16 2017-10-05 12:22:48 -04:00
Steve Rowe 93d8e428ea SOLR-10842: Convert all remaining {{quickstart.html}} links to {{guide/solr-tutorial.html}}; remove all references to quickstart from the build; and version the link to the ref guide's tutorial in Solr's versioned top-level documentation page. 2017-10-04 15:25:20 -04:00
Christine Poerschke 708ed8fb48 TestRerankBase.getModelInJson to permit empty features array. 2017-09-11 12:47:44 -07:00
Christine Poerschke 0c831b9970 SOLR-11351: make LTRScoringModel model more extensible 2017-09-11 12:47:35 -07:00
Christine Poerschke 492265014b SOLR-11164, SOLR-11180, SOLR-11220: Fix NullPointerException and always-returns-zero contrib/ltr OriginalScoreFeature issues in SolrCloud mode.
(Yuki Yano, Jonathan Gonzalez, Ryan Yacyshyn, Christine Poerschke)
2017-08-25 15:34:04 +01:00
Christine Poerschke 40fc36b87e SOLR-11254: Add score-less (abstract) DocTransformer.transform method. 2017-08-23 16:36:14 +01:00
Andrzej Bialecki 1c36569176 SOLR-11215: Make a metric accessible through a single param. 2017-08-17 12:33:36 +02:00
Christine Poerschke 3cbbecca02 TestLTROnSolrCloud now also tests 'feature vector returned' without re-ranking. (Christine Poerschke, Yuki Yano) 2017-08-14 12:27:05 +01:00
Shalin Shekhar Mangar 575eead80f Enable validation checks on JSON files 2017-08-12 11:05:19 +05:30
Christine Poerschke 3f3a71ad65 SOLR-11223: do asserts on all 8 results, test that feature-vector retrieval does not alter score 2017-08-10 19:43:52 +01:00
Steve Rowe f962effd12 SOLR-10803: Mark all Trie/LegacyNumeric based fields @deprecated in Solr7. 2017-08-04 19:55:02 -04:00
Christine Poerschke c0a6ffe75d SOLR-11187: contrib/ltr TestModelManagerPersistence improvements. (Yuki Yano via Christine Poerschke)
* in testFeaturePersistence() method fix some assertJDelete vs. assertJQ copy/paste type issues
* add testFilePersistence() method
2017-08-03 16:16:44 +01:00
Christine Poerschke c297180cca SOLR-11163: Fix contrib/ltr Normalizer persistence after solr core reload or restart.
(Yuki Yano via Christine Poerschke)
2017-08-03 16:07:40 +01:00
Chris Hostetter 6a59253ec3 SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats (indent=on) by default 2017-07-24 08:42:02 -07:00
Cassandra Targett cbe7084a8e SOLR-11135: Update Ref Guide links in READMEs, config files and UI 2017-07-21 21:06:43 -05:00
Christine Poerschke 58358099bf SOLR-10174, SOLR-11134: @AwaitsFix instead of @Ignore for TestLTRReRankingPipeline.testDifferentTopN 2017-07-21 15:43:01 +01:00
Christine Poerschke c17333621d SOLR-10174: fix approx. 1 of 2 @Ignore-ed tests in TestLTRReRankingPipeline. 2017-07-21 15:38:26 +01:00
Adrien Grand 7ea4072b36 LUCENE-7892: Add missing "Slow" to doc-value query factory methods. 2017-07-20 15:10:11 +02:00
Christine Poerschke 14ec46c7f8 SOLR-10964: Reduce SolrIndexSearcher casting in LTRRescorer. 2017-07-07 17:37:19 +01:00
Jan Høydahl 80b1430a3e SOLR-10748: Make stream.body configurable and disabled by default 2017-07-06 15:02:55 +02:00
Houston Putman 88b7ed1d46 SOLR-10123: Fix to better support numeric PointFields. Unit tests now use randomized numeric fields.
Closes #215
2017-07-06 06:40:47 -04:00
Anshum Gupta 6c163658bb SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation 2017-07-03 21:44:18 -07:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Dennis Gove d5963bebc4 SOLR-10123: Upgraded the Analytics Component to version 2.0 2017-06-28 14:13:37 -04:00
Christine Poerschke 9c75c8082d SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs. (Stefan Langenmaier via Christine Poerschke) 2017-06-27 13:22:11 +01:00
Chris Hostetter 9f56698d33 SOLR-10948: Fix extraction component to treat DatePointField the same as TrieDateField
SOLR-10947: Randomize the usage of Points based numerics in contrib test schemas

This commit also adds @SuppressPointFields needed for SOLR-10949
2017-06-26 17:03:00 -07:00
Dennis Gove bee8d7ccb3 Revert "SOLR-9981: Performance improvements and bug fixes for the Analytics component"
This reverts commit a5dce163eb.
2017-06-26 17:33:26 -04:00
Dennis Gove 288ab09ceb Revert "SOLR-9981: Fixes precommit error in test file"
This reverts commit e8057309b9.
2017-06-26 17:33:26 -04:00
Dennis Gove e8057309b9 SOLR-9981: Fixes precommit error in test file 2017-06-24 21:48:39 -04:00
Dennis Gove a5dce163eb SOLR-9981: Performance improvements and bug fixes for the Analytics component 2017-06-24 21:39:01 -04:00
Cao Manh Dat f7b8cc7be0 SOLR-8256: Fixing test failures when enable legacyCloud=false as default 2017-06-24 12:53:53 +07:00
Christine Poerschke 3a017e4cf2 SOLR-10778: eliminate local variables in (PageTool,AnalyzeEvaluator,ClassifyStream) 2017-06-23 15:47:24 +01:00
Uwe Schindler 5de15ff403 LUCENE-7883: Lucene/Solr no longer uses the context class loader when resolving resources 2017-06-22 20:20:50 +02:00
Adrien Grand 44d1f1fe3f LUCENE-7872: TopDocs.totalHits is now a long. 2017-06-21 09:55:02 +02:00
Jan Høydahl 4746ff0ec8 SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults 2017-06-20 11:00:08 +02:00
Chris Hostetter f1e2be6451 SOLR-10834: Fixed tests and test configs to stop using numeric uniqueKey fields
Squashed commit of the following (from jira/SOLR-10834 branch):

commit 8f1043840f38533864b2c713daf066b6c3509147
commit 7b95773bd524cd86aaccc56cc33a003a9aff2004
commit b26bf9d60e2b94e0cdc365d1e2c0a37c33e24198
commit df11992106f8c338503b6e3e9a27ba6ddcfa2953
commit fcf98132410ed247e451bb449a8337a09bd857ce
commit 05e8e226de359a6d7bc99219eaec161a32268f17
commit 6dce948294351560948a32b64679b1879657af79
commit 53f97845caaa8adc25862e4017b94f3091063552
commit d5bfb5f57016341fbeaf73b5e4c9ed10dc3816d0
commit d333f7b1eee10893a81532ac2f5a77a46716d90b
commit 15983ceec4702dc8c7562250d59cd8231c67d46a
commit e18e2e771fb4678cb911a62bbc7c74a873466bf0
commit 134e210bdf601600a9d90dd0720a35cb122896b0
commit ec03260265f8a3bbdfd7f9b015de16a4950a05eb
commit 5d430057ed335801a524e1e7666061075ab6d859
commit 1625df3d21b8fa27815d7a7b89a55fc338eeb23b
2017-06-15 09:14:24 -07:00
Noble Paul 92b17838a3 SOLR-10876: Regression in loading runtime UpdateRequestProcessors like TemplateUpdateProcessorFactory 2017-06-14 18:07:40 +09:30
Christine Poerschke cf9b70b253 SOLR-10174: reduce makeFeatureWeights code duplication in tests 2017-06-08 10:15:54 +01:00
Christine Poerschke bcce49c160 SOLR-10174: fix @Ignore in TestMultipleAdditiveTreesModel 2017-06-07 19:44:50 +01:00
Mikhail Khludnev 357f4dfb18 SOLR-3702: concat(..) function query 2017-06-05 23:26:06 +03:00
Mikhail Khludnev db2b19f6ba SOLR-8762: respond child docs in DIH debug 2017-06-03 21:36:52 +03:00
Adrien Grand 759fa42b62 LUCENE-7850: Move support for legacy numerics to solr/. 2017-05-30 10:33:08 +02:00
Tomas Fernandez Lobbe 94731aaa09 SOLR-10710: Fix LTR failing tests 2017-05-24 13:28:07 -07:00
Tomas Fernandez Lobbe d30d012c7c SOLR-10042, LUCENE-7838: Fix precommit 2017-05-18 17:11:40 -07:00
Jan Høydahl 21384b5b21 SOLR-10042: Delete old deprecated Admin UI 2017-05-18 14:12:59 +02:00
jdyer1 e61b5b34bf SOLR-10617: JDBCStream to support additional types, minor refactoring to separate out CalciteJDBCStream, upgrade hsqldb for JDBCStream & DIH tests. 2017-05-12 08:44:16 -05:00
Jan Høydahl e776cbe446 SOLR-7041: Cut over tests from <defaultSearchField> in schema to df on requests 2017-05-05 00:53:50 +02:00
Jan Høydahl 61f64829d8 SOLR-7041: Remove a lot of defaultOperator and defaultSearchField from test configs (still more work to do) 2017-04-29 20:39:50 +02:00
Andrzej Bialecki bb69c02e57 SOLR-10418: Metrics API should return JVM system properties. 2017-04-18 12:46:39 +02:00
Erick Erickson 4cb00ccca4 SOLR-10007: Clean up references to CoreContainer and CoreDescriptors 2017-04-12 17:02:40 -07:00
Andrzej Bialecki e30cc70fdd SOLR-9959: SolrInfoMBean-s category and hierarchy cleanup. 2017-04-11 19:22:23 +02:00
Alan Woodward caf329717e LUCENE-7701: Refactor grouping collectors 2017-04-10 11:10:18 +01:00
Christine Poerschke 50ed729459 Remove unused (private static final) loggers in LTRQParserPlugin and LTRFeatureLoggerTransformerFactory. 2017-04-05 11:52:34 +01:00
Christine Poerschke dfa342bc90 SOLR-10421: Fix params persistence for solr/contrib/ltr (MinMax|Standard)Normalizer classes.
(Jianxiong Dong, Christine Poerschke)
2017-04-05 11:50:13 +01:00
Christine Poerschke 186c5edd63 SOLR-10383: Fix debug related NullPointerException in solr/contrib/ltr OriginalScoreFeature class.
(Vitezslav Zak, Christine Poerschke)
2017-04-03 13:01:16 +01:00
Christine Poerschke e875f135be SOLR-10383: reduce code duplication in TestOriginalScoreFeature 2017-04-03 12:10:09 +01:00
Adrien Grand e80643e5a7 LUCENE-7753: Make fields static when possible. 2017-03-31 17:28:21 +02:00
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 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