Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings

Compass Support Forums » Compass » Compass Users

Thread: Getting the document ID of a newly saved object

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0 - Pages: 1

Posts: 13
Registered: 3/23/10
Getting the document ID of a newly saved object
Posted: Jun 8, 2010 12:29 PM
  Click to reply to this thread Reply
To make a long story short, I need to keep a list of certain document IDs for use at search-time to avoid unnecessary unmarshalling (I need to prune the result set in a way that I believe is impossible via the search query itself). To do this, I need to know the docid of an object I've just saved via Hopefully I'm just overlooking something obvious, but is there a way to access this? I'd really hate to have to unmarshall the entire index again after indexing to find these.

Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums