You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2016/11/01 17:37:28 UTC
[1/2] lucene-solr:jira/solr-8542-v2: SOLR-8542: initialCapacity tweak
ManagedFeatureStore.featuresAsManagedResources
Repository: lucene-solr
Updated Branches:
refs/heads/jira/solr-8542-v2 3ab2ee112 -> 91b5db341
SOLR-8542: initialCapacity tweak ManagedFeatureStore.featuresAsManagedResources
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6182b28b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6182b28b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6182b28b
Branch: refs/heads/jira/solr-8542-v2
Commit: 6182b28b7b4b68b441369b118051d5095c6741de
Parents: 3ab2ee1
Author: Christine Poerschke <cp...@apache.org>
Authored: Tue Nov 1 17:31:15 2016 +0000
Committer: Christine Poerschke <cp...@apache.org>
Committed: Tue Nov 1 17:31:15 2016 +0000
----------------------------------------------------------------------
.../org/apache/solr/ltr/store/rest/ManagedFeatureStore.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6182b28b/solr/contrib/ltr/src/java/org/apache/solr/ltr/store/rest/ManagedFeatureStore.java
----------------------------------------------------------------------
diff --git a/solr/contrib/ltr/src/java/org/apache/solr/ltr/store/rest/ManagedFeatureStore.java b/solr/contrib/ltr/src/java/org/apache/solr/ltr/store/rest/ManagedFeatureStore.java
index 62b0fe5..beb217c 100644
--- a/solr/contrib/ltr/src/java/org/apache/solr/ltr/store/rest/ManagedFeatureStore.java
+++ b/solr/contrib/ltr/src/java/org/apache/solr/ltr/store/rest/ManagedFeatureStore.java
@@ -183,8 +183,9 @@ public class ManagedFeatureStore extends ManagedResource implements ManagedResou
}
private static List<Object> featuresAsManagedResources(FeatureStore store) {
- final List<Object> features = new ArrayList<Object>();
- for (final Feature f : store.getFeatures()) {
+ final List<Feature> storedFeatures = store.getFeatures();
+ final List<Object> features = new ArrayList<Object>(storedFeatures.size());
+ for (final Feature f : storedFeatures) {
final LinkedHashMap<String,Object> m = toFeatureMap(f);
m.put(FEATURE_STORE_NAME_KEY, store.getName());
features.add(m);
[2/2] lucene-solr:jira/solr-8542-v2: SOLR-8542: solr/CHANGES.txt
Posted by cp...@apache.org.
SOLR-8542: solr/CHANGES.txt
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/91b5db34
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/91b5db34
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/91b5db34
Branch: refs/heads/jira/solr-8542-v2
Commit: 91b5db341487a23bc49bab65275db528ffc2aadc
Parents: 6182b28
Author: Christine Poerschke <cp...@apache.org>
Authored: Tue Nov 1 17:35:51 2016 +0000
Committer: Christine Poerschke <cp...@apache.org>
Committed: Tue Nov 1 17:35:51 2016 +0000
----------------------------------------------------------------------
solr/CHANGES.txt | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/91b5db34/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index fd4d2af..16cae8c 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -93,6 +93,9 @@ New Features
SOLR_HOME on every node. Editing config through API is supported but affects only that one node.
(janhoy)
+* 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)
+
Optimizations
----------------------
* SOLR-9704: Facet Module / JSON Facet API: Optimize blockChildren facets that have