-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Terms with filters #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you give a more concrete example? When you say document arnold, is that the id of the document, or actually a query? I do plan to add a more like this option, where (in one case) you would give the document id, and all the documents that are like the document will be returned. |
That's nice too, but not what I mean. Think about google's auto suggest. The user starts typing "ar", possible matches are 'arnold' 'arnaud', 'argentinia' etc If the user starts typing 'sch', possible matches are 'schwab', 'schweitz', 'schwarzenegger' But if the user types "arnold sch" then the likeliest match is "schwarzenegger" So it'd be nice to say: give me all the terms starting with $prefix, in documents that contain [$token_1, $token_n] |
Yes, now I understand what you mean. Thats a more complex autosuggest, which can be done in several ways, not just the one you mentioned (for example, google uses the queries users enter for auto suggest, which I think is far better). |
sure - agreed |
Now implemented with search facets in 0.9 |
Add note that the S3 Gateway will be deprecated
Closes #37. (cherry picked from commit 5243bdc)
If you define some specific mapping for your file content, such as the following: ```javascript { "person": { "properties": { "file": { "type": "attachment", "path": "full", "fields": { "file": { "type": "multifield", "fields": { "file": { "type": "string" }, "suggest": { "type": "string" } } } } } } } } ``` And then, if you ask back the mapping, you get: ```javascript { "person":{ "properties":{ "file":{ "type":"attachment", "path":"full", "fields":{ "file":{ "type":"string" }, "author":{ "type":"string" }, "title":{ "type":"string" }, "name":{ "type":"string" }, "date":{ "type":"date", "format":"dateOptionalTime" }, "keywords":{ "type":"string" }, "content_type":{ "type":"string" } } } } } } ``` All your settings have been overwrited by the mapper plugin. Closes elastic#37.
Request to update Coordination.md
With this commit we remove some dead code, simplify the existing random generator and also add test infrastructure and an example test for the timestamp generator. Relates elastic#37
For auto-suggest, it would be nice to be able to ask for (eg) all terms with prefix 'sch' that occur in the same document as 'arnold'
The text was updated successfully, but these errors were encountered: