Using "_" character

Hello,

Is there a general rule for when the "_" character is used in JSON, in
URLs, and other places?

e.g. _script in JSON in http://github.com/elasticsearch/elasticsearch/issues/293
or _source in JSON responses or _all in URL, etc.

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/

The general rule is for "internal" fields / constructs, elasticsearch uses
_. For example, the _source and _type fields, and for _score which is not
really a field.

-shay.banon

On Mon, Aug 9, 2010 at 4:19 PM, Otis otis.gospodnetic@gmail.com wrote:

Hello,

Is there a general rule for when the "_" character is used in JSON, in
URLs, and other places?

e.g. _script in JSON in
Script based sort · Issue #293 · elastic/elasticsearch · GitHub
or _source in JSON responses or _all in URL, etc.

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/