srikanthv123 / solrnet

Automatically exported from code.google.com/p/solrnet
0 stars 0 forks source link

Query-building fluent interface #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Write a fluent interface to create queries, i.e.:

{{{
Query.Field("name").Is("solr");
Query.Simple("name:solr");
Query.Field("price").Is(400);
Query.Field("name").Is("solr").Not();
Query.Field("price").From(10).To(20);
Query.Field("price").In(10, 20, 30);
Op.And(Query.Field("price").Is(400), Query.Field("name").Is("solr"));
}}}

Original issue reported on code.google.com by mauricio...@gmail.com on 19 Feb 2009 at 12:44

GoogleCodeExporter commented 8 years ago
done in r282

Original comment by mauricio...@gmail.com on 22 Feb 2009 at 6:59