Dev/endeca
query result xml로 보기
2ssoosike
2008. 12. 18. 21:18
선택한 어플리케이션의 포트를 확인하고 값을 주고 format을 xml로 주면 결과 값이 xml로 보인다.
ex) http://165.xxx.yyy.zzz:17000/graph?node=0&format=xml&group=1
아래는 각각의 파라미터가 무엇을 의미하는지 알 수 있는 표다.
Administrator's Guide
> The MDEX Engine Request Log
URL parameter mapping
This section provides a mapping between the URL that is sent from the
application to the Endeca Presentation API, and the URL that is sent
from the API to the MDEX Engine. As described in the Endeca Developer's Guide,
there is not a one-to-one correlation between these two URLs. The
Presentation API transforms the URL it receives from the application
into a MDEX Engine-specific URL before sending it to the engine.
You can use the information in
the remainder of this section to translate the MDEX Engine request log
file, which tells you exactly which URLs the MDEX Engine has processed.
By extension, these are the URLs that the Presentation API has sent to
the MDEX Engine. If the API has sent an incorrect URL to the MDEX
Engine, it is a good indication that the API received an incorrect URL
from the Web application in the first place.
Use the table below to map the
parameters as follows: The left column is the mapping between the
Presentation API and the ENE parameter. The far right column is the
mapping between the Web application and the Presentation API parameter.
Note: For a complete description of the ENE URL query parameters, see the
Endeca Developer's Guide.
Example mappings
Here are some sample mappings.
Web Application to API
|
API to MDEX Engine
|
/controller.jsp?N=0
|
/graph?node=0
|
/controller.jsp?N=0&Ntk=DESC&
Ntt=merlot
|
/graph?node=0+attrs=DESC+merlot
|
Mapping parameters
The ENE parameters in bold are the primary parameters, while those in non-bold are secondary parameters.
MDEX Engine parameter
|
Description
|
Maps to...
|
graph?
|
Navigation query
|
N
|
node
|
Navigation query parameter, navigation descriptors
|
N
|
offset
|
Navigation query parameter, record offset
|
No
|
offset
|
Navigation query parameter, aggregated record offset
|
Nao
|
group
|
Navigation query parameter, exposed refinements
|
Ne
|
rab
|
Navigation query parameter, records per aggregated record
|
Np
|
sort
|
Navigation query parameter, sort
|
Ns
|
order
|
Navigation query parameter, sort order
|
Nso
|
groupby
|
Navigation query parameter, rollup
|
Nu
|
attrs
|
Navigation query parameter, record search key, terms, and options
|
Ntk, Ntt, Ntx
|
dym
|
Navigation query parameter,
Did You Mean
|
Nty
|
autophrase
|
Navigation query parameter,
compute phrasings
|
Ntpc
|
autophrasedwim
|
Navigation query parameter,
rewrite query
|
Ntpr
|
merchpreviewtime
|
Navigation query parameter, merchandising preview time
|
Nmpt
|
merchrulefilter
|
Navigation query parameter, merchandising rule filter
|
Nmrf
|
pred
|
Navigation query parameter, range filters
|
Nf
|
filter
|
Navigation query parameter, record filters
|
Nr
|
stat
|
Navigation query parameter, analytics
|
Nl
|
|
|
|
search?
|
Dimension search query
|
D
|
terms
|
Dimension search query parameter, search terms
|
D
|
options
|
Dimension search query parameter, options
|
Dx
|
node
|
Dimension search query parameter, dimension search scope
|
Dn
|
model
|
Dimension search query parameter, search dimension
|
Di
|
num
|
Dimension search query parameter, number of results
|
Dp
|
offset
|
Dimension search query parameter, offset
|
Do
|
rank
|
Dimension search query parameter, rank
|
Dk
|
pred
|
Dimension search query parameter, range filters
|
Df
|
filter
|
Dimension search query parameter, record filters
|
Dr
|
|
|
|
abin?
|
Aggregated record query
|
A
|
id
|
Aggregated record query parameter, record ID
|
A
|
node
|
Aggregated record query parameter, descriptors
|
An
|
groupby
|
Aggregated record query parameter, rollup
|
Au
|
pred
|
Aggregated record query parameter, range filters
|
Af
|
filter
|
Aggregated record query parameter, record filters
|
Ar
|
|
|
|
bin?
|
Record query
|
R
|
id
|
Record query parameter,
record ID
|
R
|