[
https://issues.apache.org/jira/browse/COUCHDB-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167438#comment-14167438
]
Ben Keen commented on COUCHDB-2376:
-----------------------------------
Turns out there were two causes of this issue:
1. the backbone models passed to the Views.AllDocsList had their unique ID
located in two different places in the object, but the code was only looking in
one place.
2. in the case of reduced view searches, no ID was present at all.
The ids were used in keeping track of what rows were on the page at a time, so
the removal code was kludging out on multiple searches. Committing now.
> Doing repeated queries on reduced View yields incorrect # of results
> --------------------------------------------------------------------
>
> Key: COUCHDB-2376
> URL: https://issues.apache.org/jira/browse/COUCHDB-2376
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Ben Keen
> Assignee: Ben Keen
>
> To reproduce:
> 1. Create a View with a reduce function on it.
> 2. Do a search on that View with the "reduce" checkbox checked.
> 3. Note the number of results.
> 4. Do another search with the same search criteria.
> 5. Note the number of results has increased.
> Results are being duplicated in the search results.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)