Skip to content
Lucerna Law

Document management and automation

Legal Document Search Software: What the Index Misses

By Published 8 min read

Legal document search software finds files by looking in an index built from them, not in the files themselves. What the index leaves out, the search cannot find: text past a size limit, scanned pages with no text layer, older versions, and files the searcher cannot open. Knowing those limits tells an empty result from a true negative.

It searches an index: a list of the words in each file, with the file's name, metadata and sometimes comments, built when the file is added or changed. A query is matched against that list. The file itself is not read at the moment of the search, so anything that never reached the index cannot be found.

Box describes its own index in these terms. Its help page on searching for files, folders and content compares it to the index at the back of a textbook: each time a file or folder changes, Box adds its words to the index, and a search looks in the index for matches. The same page lets a user restrict a search to file and folder names, file contents, descriptions, comments or tags, and filter by file type, owner, folder, date modified, size and custom metadata.

Indexing takes time. Box says newly added or changed files are usually searchable within 10 minutes, and that it can take longer under load. A paralegal who uploads a production and searches it straight away may get nothing back for reasons that have nothing to do with the documents.

A law firm's search tool is usually its document management system's search, a cloud storage service's search, or a separate enterprise search product sitting over several stores. The guide to legal document management software explains how a DMS profiles each document to a matter, which is the metadata a search filter relies on. The limits below come from the vendors' own pages for Box and for SharePoint, two stores many firms already use, read on November 5, 2026.

How much of a long document does the search index hold?

Less than many lawyers assume. Box says its index stores up to 10,000 bytes, roughly 10,000 English characters, per document on Business accounts and above. SharePoint parses up to 2 million characters per item and stops after 30 seconds. A deposition transcript or a long contract can run past either.

Box's search page states that the index "stores up to 10,000 bytes (~10,000 characters in English) per document for accounts from Business level and above," and that the amount varies with language, indexing method and document type. Its administrator page on searching for files and folders repeats the point as a known limitation: "Indexing is limited to 10 Kb." Ten thousand characters is a few pages of a brief. A word that appears only on page 40 of a transcript may not be in Box's index at all.

Microsoft's page on search limits for SharePoint sets a different set of boundaries:

SharePoint search limitValueWhat happens past it
File size the crawler downloads150 MB for all types; 512 MB for PDF, PPTX, PPT, DOC and DOCXOnly metadata is downloaded; content is not searchable
Parsed content per item2 million characters, or 30 seconds of parsingItem is marked partially processed; the rest is not indexed
Characters passed to the word breakerFirst 1,000,000 per itemRemaining content is not processed
Distinct users or groups with access to an item10,000The item is not searchable by any user

The practical point is the same in both systems. A search that returns nothing has searched the index, and the index may hold only part of each long document. A find command inside an open file reads that file, not the index, so it is not bound by the index limit. For a question about the whole matter, the index answers only for the text it holds.

Why do scanned PDFs vanish from search results?

A scanned page is a picture. Unless optical character recognition has added a text layer, there are no words in it to index. Box's general search page says Box "does not currently perform OCR on its documents," and a later Box notice extends OCR to scanned PDFs only for Enterprise Advanced and Shield Pro customers, in English and Japanese.

The notice, Box has enhanced our OCR scanning capabilities, gives Box's own estimate of the problem: roughly 26% of recently processed PDF content was identified as scans without text representations. It names Box Search among the features the change improves. On any other plan, the general rule on the search page still applies, and a scanned exhibit stays unsearchable by its contents until someone runs OCR before upload.

That makes OCR a step in intake rather than a property of the store. The checks worth running on a scanned file before it is relied on, such as spot-checking recognized text against the page image, are set out in the guide to legal document scanning software. For search, the quickest check is a single test: a distinctive word from the middle of a scanned page either brings the file back or it does not.

Search syntax in a document system: phrases, Boolean and proximity

Each system parses a query its own way. Box treats a space as OR, needs AND, OR and NOT in capitals, and matches the start of words in titles only. SharePoint's Keyword Query Language adds NEAR and ONEAR for terms within a set distance. A query written for one system can silently mean something else in another.

Box's search page sets out its rules:

  • Spaces mean OR. A query of several words is read as OR unless another operator is used, so breach notice returns files with either word.
  • Operators must be capitals. Box does not support lower-case or mixed-case and, or or not; the administrator page adds that they are then treated as ordinary keywords.
  • Quotation marks match phrases, not characters. A search for "Blue-Box" may return "blue.box" and "Blue Box", because punctuation is ignored and the match is on consecutive words.
  • Prefix matching works on titles only. Searching cal finds a file named "California," but Box does not support prefix matching in body content, or matching inside or at the end of a word.
  • Stemming applies. "running" may match "run."

The user search page says parentheses are not valid in search expressions, while the administrator Content Manager page documents nested queries with parentheses and name: and contents: field searches. The two search screens do not accept the same syntax.

Microsoft's Keyword Query Language syntax reference supports prefix matching with a trailing *, phrases in double quotation marks and property restrictions such as author: or title:. Its proximity operators are the ones litigators reach for. "acquisition" NEAR "debt" matches items where the two terms are within eight terms of each other in either order; NEAR(n=3) narrows the distance, and ONEAR keeps the order. Box's pages list no proximity operator.

Which versions and which people does search cover?

In Box, only the current version of each file, and only files the searcher can view or preview. Box's search page says non-current versions cannot be queried. SharePoint has an access limit of its own that can hide a file from everyone.

Each limit has a consequence for legal work. If a clause was deleted from the current draft, Box search will not find the draft that still had it; the file's version history is the place to look. If a lawyer was never added to a matter folder, that lawyer's search will not show its files, which is the point of the permission but also a reason an associate's "nothing found" proves nothing about the folder. SharePoint's limit runs the other way: an item that more than 10,000 distinct users or groups can access is not searchable by anyone, and Microsoft says such items come back only through an eDiscovery search.

There is also the question of who can read the index. Box's page about KeySafe says full-text search indexes are encrypted with Box-managed keys even when the customer holds its own keys for file content, and that customers can turn full-text search off. The index holds words from client documents, so an account of a firm's encryption that leaves out the index is incomplete. The other Box settings that bear on that description are covered in the guide to Box for law firms.

Keyword index, semantic search and asking the file a question

A keyword index finds exact words fast. It misses synonyms and paraphrase, and it misses text it never indexed. Semantic search matches meaning instead, and tends to miss exact names and numbers. A tool that reads the documents to answer a question has limits of its own, so every method needs the same known-file test.

How semantic search works, and where it fails, is covered in semantic search for lawyers. For an AI tool that answers questions over a matter's files, the question to ask is how much of the matter it reads for each answer. Lucerna Law's homepage states its own rule: a matter of up to about 150 single-spaced pages goes to the model whole, and from a larger one only the passages that best match the question. That is a different limit from a 10,000-byte index, and like any limit it is worth knowing before an empty answer is taken as proof.

A known-file test runs a search tool against documents whose contents are already known. It shows whether long files, scans, old versions and permissions behave as the vendor's pages say, using six checks that each target one of the limits described above.

  1. Pick a long file. Choose a transcript or contract of 50 pages or more, and a distinctive word that appears only near the end. Search for it.
  2. Pick a scan. Choose a scanned exhibit and a word from the middle of a page. Search for it before and after running OCR.
  3. Pick an old version. Find a phrase that was in an earlier draft but has since been removed. Search for it, then check the version history.
  4. Pick a restricted folder. Have a user without access search for a word known to be inside it.
  5. Test the syntax. Run the same two-word query with and without quotation marks, and with AND and and, and compare the counts.
  6. Wait and repeat. Upload a new file, search at once, then again after the system's stated indexing delay.

A result is only as current as the date it was run and the plan the firm was on. Vendors change their limits, and a test that passed last year is a record of last year's system. The same habit of checking a template against the rules, rather than trusting it, applies to the last lines of every filed paper, covered in the guide to the attorney signature block.