Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Add support for text queries to the DSL #168

Closed
wants to merge 2 commits into from
Closed

Add support for text queries to the DSL #168

wants to merge 2 commits into from

Conversation

woodhull
Copy link
Contributor

There is a quick unit test for this as well, but I was unable to execute it because I had trouble getting the test suite working.

Small addition to support:
http://www.elasticsearch.org/guide/reference/query-dsl/text-query.html

Thanks,

Nathan

@karmi
Copy link
Owner

karmi commented Dec 23, 2011

Hi Nathan, could you add a simple integration test as well? Also, could you post here the troubles with the test suite? It should really be working with no problems...

@gedwards
Copy link
Contributor

The tests, including Nathan's addition, all pass after running:
bundle install --path .bundle
bundle exec rake test

@karmi
Copy link
Owner

karmi commented Jan 7, 2012

@woodhull: Could you add some simple integration test, please? If you have troubles running the tests, bug me here or on IRC!

@woodhull
Copy link
Contributor Author

woodhull commented Jan 8, 2012

Karmi,

Just added a quick integration test!

-Nathan

karmi pushed a commit that referenced this pull request Feb 14, 2012
Example:

    Tire.search('articles-test') do
      query { text :title, '+1' }
    end

See <http://www.elasticsearch.org/guide/reference/query-dsl/text-query.html>
@karmi karmi closed this in a7a62d6 Feb 14, 2012
@karmi
Copy link
Owner

karmi commented Feb 14, 2012

Nathan, I'm terribly sorry it took me song long to process the patch. It's now included with some cleanups in a7a62d6. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants