
com.scaleset.search.mongo.LuceneJongoQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scaleset-search-mongo Show documentation
Show all versions of scaleset-search-mongo Show documentation
Java object model for representing query requests in REST protocols.
The newest version!
package com.scaleset.search.mongo;
import com.mongodb.DBObject;
class LuceneJongoQuery implements org.jongo.query.Query {
private String query;
private Object[] parameters;
LuceneJongoQuery(String query, Object[] parameters) {
this.query = query;
this.parameters = parameters;
}
@Override
public DBObject toDBObject() {
return new MongoQueryConverter(new SimpleSchemaMapper("text"), parameters).convertQ(query);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy