49 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Cao Manh Dat
f7b8cc7be0 SOLR-8256: Fixing test failures when enable legacyCloud=false as default 2017-06-24 12:53:53 +07:00
Adrien Grand
44d1f1fe3f LUCENE-7872: TopDocs.totalHits is now a long. 2017-06-21 09:55:02 +02:00
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
Tomas Fernandez Lobbe
94731aaa09 SOLR-10710: Fix LTR failing tests 2017-05-24 13:28:07 -07: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
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
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
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
Alan Woodward
ac38872a79 LUCENE-7628: Scorer.getChildren() returns only matching child scorers 2017-02-21 13:44:25 +00:00
markrmiller
387c8e9c2d SOLR-10072: The test TestSelectiveWeightCreation appears to be unreliable. 2017-02-12 17:04:23 -05:00
Christine Poerschke
f47bbb35ae SOLR-10077: merge TestFeatureStore and TestFeatureLtrScoringModel into TestManagedFeatureStore. 2017-02-06 17:26:56 +01: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
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
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
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
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
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