18F / fbopen

[DEPRECATED] An open API server, data import tools, and sample apps to help small businesses search for opportunities to work with the U.S. government.
Other
101 stars 45 forks source link

Fix highlighting (esearch) #56

Closed arowla closed 10 years ago

arowla commented 10 years ago

Highlighting is returning just a truncated snippet of the field where there are matches. This can be configured to return longer or more snippets.

We might also be able to return snippets from matching attachments...? That would be cool, to help people figure out why a given result is in the set.

arowla commented 10 years ago

The API code is also not yet incorporating ES's highlighting into the return results.

arowla commented 10 years ago

Highlighting is working. Checked in a fix for Javascript subverting successful highlight display in commit bd7a63a.