se.l4.silo.search.query.UserQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of silo-search-api Show documentation
Show all versions of silo-search-api Show documentation
API for Lucene-based querying for Silo.
package se.l4.silo.search.query;
import se.l4.silo.search.QueryItem;
public class UserQuery
extends AbstractQueryPart
{
private final String[] fields;
private float[] boosts;
public UserQuery(String... fields)
{
this.fields = fields;
this.boosts = new float[fields.length];
for(int i=0, n=boosts.length; i