rnewson opened a new pull request #2521: Fix highlight_post_tag parsing from 
json request body
URL: https://github.com/apache/couchdb/pull/2521
 
 
   Fixes #2520
   ## Overview
   
   we misspelled the key name for highlight_post_tag, so it was not translated 
into query params.
   
   ## Testing recommendations
   
   Verify that the post tag substitution happens;
   
   curl localhost:5984/db1/_design/bar/_search/bar 
-Hcontent-type:application/json -d '{"q":"foo:piece", "highlight_fields": 
["foo"], "highlight_pre_tag":">", "highlight_post_tag":"<"}'
   
   ## Related Issues or Pull Requests
   
   https://github.com/apache/couchdb/issues/2520
   ## Checklist
   
   - [x] Code is written and works correctly
   - [ ] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [ ] A PR for documentation changes has been made in 
https://github.com/apache/couchdb-documentation
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to