You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "James Blachly (JIRA)" <ji...@apache.org> on 2014/02/16 02:34:20 UTC
[jira] [Updated] (COUCHDB-2067) Not all rows in a non-reduced view
are displayed
[ https://issues.apache.org/jira/browse/COUCHDB-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Blachly updated COUCHDB-2067:
-----------------------------------
Description:
When designing a view using a map function that emits multiple items, Fauxton shows only a subset of the rows from the view. I think, but have not confirmed, that it is only showing as many rows as there were source documents that emitted the rows in the view.
For example, I have THREE documents of type "A", each document having a list of "alternate IDs," variable in length. The map function emits one or more alternate IDs per document. In my example, I have 8 rows returned from 3 documents.
When looking at the view, Fauxton only shows 3 rows, but it correctly reports the total # of rows: "Showing 1-3 of 8 rows.". The "Next" button takes you to: http://localhost:5984/_utils/fauxton/# which is putatively the list of databases, but for some reason is empty at that time (refreshing or clicking the database link to the left correctly displays the database list).
was:
When designing a view using a map function that emits multiple items, Fauxton shows only a subset of the rows from the view.
For example, I have four documents of type "A", each document having a list of "alternate IDs." The map function emits one or more alternate IDs per document. In my example, I have 8 rows returned from 4 documents.
Fauxton only shows 3, but it correctly reports "Showing 1-3 of 8 rows.". The "Next" button takes you to: http://localhost:5984/_utils/fauxton/# which is putatively the list of databases, but for some reason is empty at that time (refreshing or clicking the database link to the left correctly displays the database list).
> Not all rows in a non-reduced view are displayed
> ------------------------------------------------
>
> Key: COUCHDB-2067
> URL: https://issues.apache.org/jira/browse/COUCHDB-2067
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: James Blachly
>
> When designing a view using a map function that emits multiple items, Fauxton shows only a subset of the rows from the view. I think, but have not confirmed, that it is only showing as many rows as there were source documents that emitted the rows in the view.
> For example, I have THREE documents of type "A", each document having a list of "alternate IDs," variable in length. The map function emits one or more alternate IDs per document. In my example, I have 8 rows returned from 3 documents.
> When looking at the view, Fauxton only shows 3 rows, but it correctly reports the total # of rows: "Showing 1-3 of 8 rows.". The "Next" button takes you to: http://localhost:5984/_utils/fauxton/# which is putatively the list of databases, but for some reason is empty at that time (refreshing or clicking the database link to the left correctly displays the database list).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)