SChamberlain/govdat — Issue #2: use of 'n' argument in sunlight labs API
Author: SChamberlain
Created: 2012-02-22 04:41:10+00:00
State: open

From Dan Drinkard:

Hey there, sorry for the silence last week! 'n' is the length of the phrase to search against. This is required because each document in the index stores its n-grams in separate fields, split by length. Generally the value of n will be the number of words in your query--unless you wanted the percentage of, say, 4-word phrases that contained a specific word.

I said: "I don't understand the 'n' argument in the dates.json method..."