Advanced Search Guide

ArmsDB’s advanced search tools help you quickly find historical law and sources within the database.

You can search by keywords, exact phrases, jurisdictions, years, conduct categories, and other filters. The search system also recognizes certain terms automatically, allowing you to narrow results without manually selecting filters.

This guide explains how search terms, operators, and filters work together so you can build more precise searches and find relevant materials more efficiently. Sidebar filters (jurisdiction, conduct, tags, and year) work alongside these search rules unless otherwise noted.

Getting Started

Most searches can be performed using plain-language keywords. For example, searching for concealed carry will return articles containing both words. As your research becomes more specific, you can use quoted phrases, exclusions, and search operators to narrow your results.

Basics

These rules govern how the search engine interprets ordinary keyword searches.

  • Search is not case-sensitive.
  • Multiple words without OR mean all words must match (AND).
  • Example: concealed carry finds articles containing both concealed and carry.
  • Explicit AND (uppercase, spaced): concealed carry AND Alaska requires both parts. When AND is used, automatic jurisdiction and year detection is disabled for that query, so Alaska is searched as text rather than being applied as a jurisdiction filter.

Quoted Phrases

Use quotation marks when the order and placement of words matters.

  • Use double quotes for words together, in order (e.g., "concealed carry").
  • Quotes are operators, not text to find in the document.
  • Quoted text is not automatically applied as a jurisdiction or other filter.
  • Example: "New York" pistol searches the phrase New York plus pistol. It does not automatically filter results to the New York jurisdiction.
  • Quoted years (e.g., "1850") are searched as text only and do not apply the year enacted filter.
  • Unquoted years (e.g., 1850) applies the year enacted filter. Use quotes only when you want the digits to appear in the article text.

OR

Use OR when you want results that match either of multiple terms or concepts.

  • Use uppercase OR with spaces (e.g., texas carry OR florida carry)
  • Lowercase or is treated as a normal word, not an operator.
  • concealedORcarry is invalid. Spaces are required around OR.

Exclusions (Minus)

Use a minus sign to exclude words or phrases from your results.

  • carry -Nebraska
  • Must match carry and must not match Nebraska.
  • -"permit required"
  • Excludes articles containing the exact phrase “permit required”.
  • Excluded terms are not automatically applied as jurisdiction or other filters.

Smart Filters from Keywords

The search system can automatically convert certain keywords into filters, reducing the need to select them manually.

When you enter search terms without quotes or exclusions, the system may automatically recognize certain terms and apply filters.

You Type (Unquoted) May Auto-Apply
U.S. state name or abbreviation Jurisdiction filter
Four-digit year (e.g., 1850) That enactment year
Century (e.g., 1800s) Year range 1800–1899
Matching conduct, issue, or tag name Taxonomy filter

Example

California concealed carry 1850

This search applies the California jurisdiction filter, the enactment year 1850 filter, and searches for concealed and carry.

If you have already selected a jurisdiction or year using the sidebar filters, keyword auto-detection will not override those selections.

AND and OR in the Same Query

AND and OR operators help combine multiple concepts, but they must be used in specific ways.

Do not combine explicit AND and OR in the same search.

Example:

carry AND texas OR florida

The search will display an error rather than guessing which operator should take precedence.

What Is Searched

Understanding which fields are included in search results can help you build more effective queries.

  • Article title
  • Statutory text (main body)
  • Citation
  • Summary
  • Bill or act reference
  • Location/application fields
  • Notes fields
  • PDF file contents (download only)
  • Author names (v1)

Year enacted is used as a filter when detected from unquoted years. It is not searched as full text.

Examples

The examples below demonstrate common searches and how the system interprets them.

Phrase Match

"stand your ground"

Returns articles containing the exact phrase stand your ground.

Excluding a Term

rifle -Texas

Returns articles matching rifle while excluding articles matching Texas.

Combining Filters and Operators

California "concealed carry" -"permit required"

Not Supported

The following search formats are not currently supported:

  • Lowercase and or or as operators (use uppercase AND and OR with spaces)
  • Google-style operators such as site:, *, +, and similar syntax
  • Searching inside attached PDF text

Tips for Effective Searches

  • Start with simple keywords and narrow results only if needed.
  • Use quotation marks when word order matters.
  • Use exclusions to remove unwanted results.
  • Take advantage of automatic jurisdiction, year, and taxonomy detection to reduce the need for manual filtering.
  • Use sidebar filters when you want precise control over jurisdictions, years, conduct categories, or tags.

If you want to bookmark this section of the Search Guide, close this message, then use the bookmark button or icon in your browser to save it.