Editorial illustration of the Buckets app icon with copper trim and three orange cubes

Illustration based on the Buckets app icon.

My first useful result from testing private S3 search was a disabled button. Buckets by Serverless Creed had counted 5,000 eligible objects across five listing pages and stopped. It showed 160.1 KiB and asked me to narrow the prefix. That is a small amount of data, but a search that opened every one of those files could still make thousands of object requests.

I wanted to see where Buckets drew the line between looking at S3 metadata and fetching document bodies. TC-PRIV-001 exercised that planning boundary. TC-PRIV-002 checked what the resulting index matched and how an update behaved after a planned object changed.

Work out the scope first

In S3, ListObjectsV2 lists keys and basic metadata such as size and ETag in pages of up to 1,000 entries. A prefix lets S3 narrow the listing server-side. HeadObject can fetch more metadata for a specific key without returning its body. I would use it where a field needed for the decision is missing from the listing. GetObject is the point where a full-object read actually transfers the document's bytes. Calling HEAD for every object can itself create substantial request volume. ListObjectsV2 · HeadObject · GetObject

My TC-PRIV-001 report records that planning used metadata without downloading object contents. The Buckets panel displayed three limits for supported text or code files: 2 MiB per file, 250 MiB per complete plan, and 5,000 objects per complete plan. The fixture included an oversized text file and an unsupported binary. I also added 5,001 tiny text objects to exercise the count boundary separately. That was enough to hit the count limit with very little data.

Buckets caps the plan at 5,000 candidates over five LIST pages and disables local indexing

TC-PRIV-001. The plan stopped at the object cap. Its totals describe the portion the planner saw.

I also checked my selected Browse location. An earlier plan had counted 188 candidates because I was looking at a broader prefix than the five-file fixture. That discrepancy gave me a second reason to verify the prefix shown in the interface before approving downloads. The capped plan indicated that I could narrow the prefix. I did, then generated a new plan for a fixture with three eligible objects. It took one LIST page, and Buckets displayed 0.1 KiB. The source objects were 37, 37 and 28 bytes, totaling 102 bytes according to the CLI metadata in my test report. Once the plan was complete, the build button became available. I selected it, and Buckets reported three indexed objects. I exercised the object-count cap directly. The 250 MiB aggregate boundary remained untested at its threshold.

Accepted plan showing three candidates, one LIST page and the Build local index button

TC-PRIV-001. Narrowing the prefix produced a complete three-object plan.

Workflow from prefix listing and metadata inspection through approval, controlled reads and local search, with over-cap plans blocked

Illustration. The scope check comes before approval and object downloads.

What an exact-word search returned

Searching for alpha returned two documents from the three-object index. Adding beta reduced the results to one file that contained both words. The TC-PRIV-002 report also records that ALPHA BeTa returned that same file and gamma delta returned no results. For an AND query, every term has to appear in the same document. Terms split across two different objects do not produce a match. A separate alph query also returned no results, which is what I expected from exact-token matching.

The local search for alpha returns file-a.txt and file-b.md

TC-PRIV-002. Two documents matched the token alpha.

The search for alph displays no matching local document

TC-PRIV-002. A partial token did not match the whole word.

I added a UTF-8 file containing café for the Unicode check. I queried once with precomposed é (U+00E9), and once with an e followed by a combining acute accent (U+0301). Both returned the same file according to the test report. The screenshot confirms the rendered word and its result. The code-point distinction comes from how I prepared the query.

When an object changed after the plan

I generated a four-object plan, left it open, and overwrote one fixture. The CLI check recorded a change from 37 to 49 bytes and a different ETag. Running the original plan reported three indexed objects and one failure whose existing entry was kept. The index still showed four objects, and a query for modified, a word introduced by the replacement, returned no match.

Four entries remain in the local index, café matches a fixture, and the status reports three indexed and one failed

TC-PRIV-002. Buckets showed the partial failure and kept the earlier index entry.

S3 provides two building blocks for this kind of guard. A conditional GET with If-Match lets S3 reject an entity-tag mismatch with HTTP 412. In a versioned general-purpose bucket, a client can also request a particular versionId when the design calls for reading that exact version. I observed behavior consistent with stale-object protection. The UI did not expose the response for the individual failed request, so I couldn't establish the specific status code. S3 GetObject conditional and versioned reads

Buckets describes its local index as using keyed hashes for content tokens and leaving keys, sizes, ETags and timestamps as plaintext metadata. I saw match counts and object information in the results, with no plaintext document snippets. I couldn't inspect the on-disk index through the tested interface, so my privacy observation stops at what the UI showed.

What the cap buys you

A count cap bounds the planned GET workload and a byte cap bounds the planned payload. Both are inputs to a cost estimate. LIST and HEAD can incur request charges, and approved reads can incur request, storage-class retrieval, and applicable transfer charges. Region, storage class, destination, and retries all matter. The fixture was in US East (N. Virginia). For another workload I'd price the actual request mix and bytes in its region. I didn't measure the fixture's bill. The evidence here is that Buckets forced me to review and narrow the scope before building a local index. Amazon S3 pricing