Endeca Search - Filters

Endeca record filters are used to restrict returned records. Endeca has three types of query-based filters:

1) Records Filters
Examples:
N=0&Nr=OR(sku:123,OR(sku:456),OR(sku:789)))
A=2496&An=0&Ar=OR(10001,20099)
D=Hawaii&Dn=0&Dr=NOT(Subject:Travel)

2) Range Filter
Examples:
N=0&Nf=Price|BTWN+9+13|Score|GT+4 
The user is searching for item between $9 and $13 with Product rating greater than 4.

N=0&Nf=Location|GCLT+42.365615,-71.075647+10 
The query will return only those records whose location (in the Location property) is less than 10 kilometers from given location.

3) Endeca Query Language (EQL) filters
Examples:
N=0&Nrs=collection()/record[Author= "James Patterson"]
N=0&Nrs=collection()/record[Record_Type = "document"]

1 comment:

  1. Hi Sir,

    Can EQL Queries be used in the Oracle Guided Search 11.1 ?

    I can able to see the Method
    EqlFilter eql = new EqlFilter("collection()/record[Vehicle Type=SUV/LT]");
    nav.getUrlFilterState().setEqlFilter(eql);

    In the Navigation State, i have already made the Property as the Filterable in IndexConfig any thing extra we need to enable for it.

    I was trying to implement the Contains Query in the Endeca Record Filter. Will it be Possible through EQL?

    ReplyDelete