Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Removing document doesn't update index
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MKN Web Solutions  
View profile  
 More options Feb 29 2012, 3:39 pm
From: MKN Web Solutions <mich...@mknwebsolutions.com>
Date: Wed, 29 Feb 2012 12:39:48 -0800 (PST)
Local: Wed, Feb 29 2012 3:39 pm
Subject: [mongodb-user] Removing document doesn't update index
I removed a document to replace it with another; one of the fields
(address) is based on a unique index.

I figured if I remove the document it would remove it from index,
however when updating another document to match the prior's address
fails.

I.e.

E11000 duplicate key error index: rentals.feeds.$url dup key: { :
"XYZ-8th-st" }

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MKN Web Solutions  
View profile  
 More options Feb 29 2012, 3:41 pm
From: MKN Web Solutions <mich...@mknwebsolutions.com>
Date: Wed, 29 Feb 2012 12:41:20 -0800 (PST)
Local: Wed, Feb 29 2012 3:41 pm
Subject: [mongodb-user] Re: Removing document doesn't update index
I take that back; it seems that document I thought I removed didn't
actually remove.  RockMongo for PHP seems to have a bug with oplog
disabled.

Sorry!

On Feb 29, 3:39 pm, MKN Web Solutions <mich...@mknwebsolutions.com>
wrote:

> I removed a document to replace it with another; one of the fields
> (address) is based on a unique index.

> I figured if I remove the document it would remove it from index,
> however when updating another document to match the prior's address
> fails.

> I.e.

> E11000 duplicate key error index: rentals.feeds.$url dup key: { :
> "XYZ-8th-st" }

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »