List of usage examples for org.apache.solr.update.processor TextProfileSignature init
@Override
public void init(SolrParams params)
From source file:eu.eexcess.federatedrecommender.evaluation.picker.BlockPicker.java
License:Open Source License
private byte[] getFuzzyHashSignature(Result o) { TextProfileSignature tPSignatur = new TextProfileSignature(); tPSignatur.init(params); if (o.description != null) tPSignatur.add(o.description);// w ww . j a v a2 s . c o m else if (o.title != null) { tPSignatur.add(o.title); if (o.previewImage != null) tPSignatur.add(o.previewImage); } return tPSignatur.getSignature(); }