minor fixes. Version updated to 1.0.1 in the pom.xml

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-data-indexing-common@141583 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-01-16 08:57:20 +00:00
parent 41ddcd35a5
commit 408c9e6bc0
3 changed files with 4 additions and 7 deletions

View File

@ -11,7 +11,7 @@
<groupId>org.gcube.socialnetworking</groupId>
<artifactId>social-data-indexing-common</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Social Data Indexing Common</name>

View File

@ -1,7 +1,7 @@
package org.gcube.socialnetworking.social_data_indexing_common.utils;
/**
* The fields used to build up the index.
* The name of the index and the type of the documents used to build up the index.
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
*/
public class IndexFields {

View File

@ -4,15 +4,12 @@ package org.gcube.socialnetworking.social_data_indexing_common.utils;
* The fields of the documents which are searchable.
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
*/
public enum SearchableFields {
// enhanced posts' fields of interest
public static final String ATTACHMENT_NAME = "attachments.name";
public class SearchableFields {
public static final String POST_TEXT = "feed.description";
public static final String COMMENT_TEXT = "comments.text";
public static final String PREVIEW_DESCRIPTION = "feed.linkTitle";
public static final String POST_AUTHOR = "feed.fullName";
public static final String POST_VRE_ID = "feed.vreid";
public static final String COMMENT_AUTHOR = "comments.fullName";
public static final String ATTACHMENT_NAME = "attachments.name";
}