christian-marie / sieste

REST interface to vaultaire
Other
3 stars 1 forks source link

Documentation update #21

Closed glasnt closed 8 years ago

glasnt commented 9 years ago

Work in progress, PR-ing for review

olorin commented 9 years ago

Are you sure the relevant param is _float? I thought it was as_double.

glasnt commented 9 years ago

It is as_double. Whoops. Will go through and work out if anything else is out of sync.

olorin commented 9 years ago

I think this could also use a bit more semantic information - like that the default number of results is 64, and that queries are 'match' rather than 'search' (i.e., query bar will not match value foobar, but query *bar will), and that queries of the form *aleph*beth* would be parsed into two separate wildcard queries such that they could match *aleph* and *beth* separately in any field, not just together in a single field.

glasnt commented 9 years ago

query bar will not match value foobar, but query *bar will

Updated

and that queries of the form _aleph_beth* would be parsed into two separate wildcard queries such that they could match aleph and beth separately in any field, not just together in a single field.

This doesn't currently happen. Searching for ?q=*aleph*beth* only returns key~alephbeth, not key~aleph,key~beth. However, ?q=*aleph*&q=*beth* will return both

If this is not the expected behaviour, then this is a bug.

glasnt commented 8 years ago

Close old PR. No longer have commit bit to merge.