Newbie question: advice on where to read up on EL usage

I see in the docs various mentions of the use of EL (expression
language) in document metadata, using ognl, velocity, etc. I'm very
much a learn by example kinda guy, but can't seem to find any
documentation showing use of EL in indexing/searching operations. So
any links or pointers would be very much appreciated.

Regards,
Darryl

Hi Darryl

On Fri, 2010-11-12 at 05:39 -0800, Jondow wrote:

I see in the docs various mentions of the use of EL (expression
language) in document metadata, using ognl, velocity, etc. I'm very
much a learn by example kinda guy, but can't seem to find any
documentation showing use of EL in indexing/searching operations. So
any links or pointers would be very much appreciated.

Yes - we need a page on the ES docs explaining query strings. For the
most part, they are the same as for Lucene:

http://lucene.apache.org/java/3_0_2/queryparsersyntax.html

although there are a couple of custom features in master, ie:

  • "missing:field"
  • "exists:field"

See Query DSL: Query String _missing_ and _exists_ syntax · Issue #446 · elastic/elasticsearch · GitHub for
details

clint

Where did you see in the docs a reference to EL?

On Fri, Nov 12, 2010 at 3:39 PM, Jondow djpentz@gmail.com wrote:

I see in the docs various mentions of the use of EL (expression
language) in document metadata, using ognl, velocity, etc. I'm very
much a learn by example kinda guy, but can't seem to find any
documentation showing use of EL in indexing/searching operations. So
any links or pointers would be very much appreciated.

Regards,
Darryl

Hmm, my bad. It appears I confused ES docs with this:
http://www.compass-project.org/docs/2.1.3/reference/html/core-osem.html.
:frowning:

So, ignore the initial question.

On Nov 12, 3:51 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Where did you see in the docs a reference to EL?

On Fri, Nov 12, 2010 at 3:39 PM, Jondow djpe...@gmail.com wrote:

I see in the docs various mentions of the use of EL (expression
language) in document metadata, using ognl, velocity, etc. I'm very
much a learn by example kinda guy, but can't seem to find any
documentation showing use of EL in indexing/searching operations. So
any links or pointers would be very much appreciated.

Regards,
Darryl