AlexanderKaraberov commented on issue #1142: fabric:query_view/4 fails if 
number of docs in the DB is more than 60
URL: https://github.com/apache/couchdb/issues/1142#issuecomment-378597834
 
 
   Hi @eiri 
   Thanks for the explanation, it clarified this issue for me. One more 
question though :)
   I know that you are going to remove `seq` and `kseq` b-tree logic completely 
from the `mrview` according to dev mailing list, but unfortunately we have to 
stick to this "broken" implementation for now in our own fork until proper 
implementation will be re-introduced (I mentioned reasons in the previous 
comment). So I'm curious is it possible to re-implement `Seq` index a little 
bit and instead of
   ```erlang
   {Seq, Key} -> {DocID, EmittedValue, DocRev}
   ```
   have something akin to:
   ```erlang
   {Seq, phash2(Key)} -> {DocID, EmittedValue, DocRev}
   ```
   for a better performance? Since we only care about the order by `seq` in 
case of `Seq` index and particular key matters only in `KeyBySeq` index.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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