luke-howard


License

License

Categories

Categories

Search Business Logic Libraries
GroupId

GroupId

com.elemica.cloudsearch
ArtifactId

ArtifactId

luke-howard_2.11
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

luke-howard
luke-howard
Project URL

Project URL

http://github.com/elemica/luke-howard
Project Organization

Project Organization

com.elemica.cloudsearch
Source Code Management

Source Code Management

https://github.com/elemica/luke-howard.git

Download luke-howard_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.elemica.cloudsearch/luke-howard_2.11/ -->
<dependency>
    <groupId>com.elemica.cloudsearch</groupId>
    <artifactId>luke-howard_2.11</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.elemica.cloudsearch/luke-howard_2.11/
implementation 'com.elemica.cloudsearch:luke-howard_2.11:0.2.1'
// https://jarcasting.com/artifacts/com.elemica.cloudsearch/luke-howard_2.11/
implementation ("com.elemica.cloudsearch:luke-howard_2.11:0.2.1")
'com.elemica.cloudsearch:luke-howard_2.11:jar:0.2.1'
<dependency org="com.elemica.cloudsearch" name="luke-howard_2.11" rev="0.2.1">
  <artifact name="luke-howard_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.elemica.cloudsearch', module='luke-howard_2.11', version='0.2.1')
)
libraryDependencies += "com.elemica.cloudsearch" % "luke-howard_2.11" % "0.2.1"
[com.elemica.cloudsearch/luke-howard_2.11 "0.2.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.2
org.scala-lang.modules : scala-xml_2.11 jar 1.0.2
org.scala-lang.modules : scala-parser-combinators_2.11 jar 1.0.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.1

Project Modules

There are no modules declared in this project.

luke-howard

Amazon's CloudSearch is awesome, but it's query syntax is not for explaining to end-users. Enter luke-howard. This is a Scala library we wrote at Elemica to expose some of the advanced query functionality of CloudSearch to our users in a almost "search-engine-esque" syntax.

It exposes support for:

  • Searching for multiple terms.
  • Searching only against a specific field.
  • Searching a specific field for one of a selection of values.
  • Negative searches (or, nots, per se).
  • Rudamentary support for numeric fields. (This will get better as we iterate.)

The project is named after the British Scientist Luke Howard who is responsible for the nomenclature that we commonly use for clouds. Much like Mr. Howard gave us some understandable terms to talk about the clouds in the sky, we hope this project will give end users some understandable means of asking questions of Amazon's CloudSearch.

Usage

Using luke-howard is a breeze. Simply import the QueryBuilder class from the com.elemica.cloudsearch package and go to down.

import com.elemica.cloudsearch.QueryBuilder

QueryBuilder("bacon")       // search for bacon
QueryBuilder("field:bacon") // search for bacon in the field named "field"
QueryBuilder("field:-123")  // search for records where field doesn't match 123

A complete set of examples can always be found in the QueryBuilderSpec.

License

This project is ©2014 Elemica, and is licensed under the Apache 2.0 License. It is provided on an as-is basis without warranty of any kind. For more information, please see the LICENSE file.

com.elemica.cloudsearch

Elemica

Building the future of supply chain networks, one piece at a time.

Versions

Version
0.2.1