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


(Jondow) #1

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


(Clinton Gormley) #2

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 http://github.com/elasticsearch/elasticsearch/issues/issue/446 for
details

clint


(Shay Banon) #3

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


(Jondow) #4

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


(system) #5