|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nuiton.wikitty.storage.solr.SolrUtil
public class SolrUtil
| Constructor Summary | |
|---|---|
SolrUtil()
|
|
| Method Summary | |
|---|---|
static org.apache.solr.common.SolrInputDocument |
copySolrDocument(org.apache.solr.common.SolrDocument source,
boolean include,
String... fields)
copy all field of source in new document. |
static org.apache.solr.common.SolrDocument |
findById(org.apache.solr.client.solrj.SolrServer solrServer,
String id)
Find solr document by id |
static String |
getSolrFieldName(String fqfieldName,
FieldType.TYPE type)
if you change this method, change TypeFieldModifer#convertToField(org.nuiton.wikitty.services.WikittyTransaction, java.lang.String)
too |
static String |
quoteForSolr(String s)
Quote s for solr. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolrUtil()
| Method Detail |
|---|
public static org.apache.solr.common.SolrDocument findById(org.apache.solr.client.solrj.SolrServer solrServer,
String id)
public static String getSolrFieldName(String fqfieldName,
FieldType.TYPE type)
TypeFieldModifer#convertToField(org.nuiton.wikitty.services.WikittyTransaction, java.lang.String)
too
fqfieldName - type -
public static org.apache.solr.common.SolrInputDocument copySolrDocument(org.apache.solr.common.SolrDocument source,
boolean include,
String... fields)
source - include - fields -
public static String quoteForSolr(String s)
s - to quote
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||