[opencms-dev] About read result Apache Solrs in Opencms
Deiverson Silveira
deiverson at solutioncms.com
Fri Feb 26 13:06:26 CET 2016
Hi guys,
I'm doing a proof of concept in Solrs in Opencms , and I wonder what the
best way for me to read this content in OpenCms of performative way. Is
there any class in OpenCms I need to give the answer , which mount the
fields dynamically so I display correctly in my jsp?
http://myserver.com/handleSolrSelect?&core=Solr%20Offline&q=test
My result is:
<response><lst name="responseHeader"><int name="status">0</int><int
name="QTime">8</int><lst name="params"><str name="q">teste</str><str
name="fl">*,score</str><str name="qt">edismax</str><int
name="rows">10</int><arr name="fq"><str>expired:[NOW TO
*]</str><str>con_locales:pt</str><str>parent-folders:"/sites/default/"</str><str>released:[*
TO NOW]</str></arr><str name="core">Solr Offline</str><long
name="start">0</long></lst></lst><result name="response" numFound="9"
start="0" maxScore="0.34924737"><doc><str
name="id">876f8cf0-6db9-11e5-a242-005056ba1bec</str><str
name="contentblob">rO0ABXNyADFvcmcub3BlbmNtcy5zZWFyY2guZXh0cmFjdG9ycy5DbXNFeHRyYWN0aW9uUmVzdWx0FFZQjpw4ZlICAAJMAA5tX2NvbnRlbnRJdGVtc3QAD0xqYXZhL3V0aWwvTWFwO1sAE21fc2VyaWFsaXplZFZlcnNpb250AAJbQnhwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA/QAAAAAAAGHcIAAAAIAAAABJ0AAxwdC9UaXR1bG9bMV10ABlUZXN0ZSBkZSBlcnJvIGFvIHB1YmxpY2FydAAScHQvVGV4dG9DaGFtYWRhWzFddAARcmV1bmnDo28gYXMgMDk6NDB0ABlwdC9EZXN0YWNhckJsb2NvUGFkcmFvWzFddAAFZmFsc2V0AApjb250ZW50X3B0dABfVGVzdGUgZGUgZXJybyBhbyBwdWJsaWNhcgplc3F1ZXJkYQpnbGVpZG1hcgpUYWcxNzZDb250CjxwPnRlc3RlPC9wPgpyZXVuacOjbyBhcyAwOTo0MAplc3F1ZXJkYQp0AB5wdC9BbGluaGFyRGVzdGFjYXJTYWliYU1haXNbMV10AAhlc3F1ZXJkYXQAEnB0L1RleHRvSW50ZXJuYVsxXXQADDxwPnRlc3RlPC9wPnQAF3B0L0Rlc3RhY2FyU2FpYmFNYWlzWzFddAAFZmFsc2V0AAtyZXNfbG9jYWxlc3QAAnB0dAAVcHQvRGF0YUF0dWFsaXphY2FvWzFddAABMHQAEHB0L0pvcm5hbGlzdGFbMV10AAhnbGVpZG1hcnQAFnB0L0V4aWJpckpvcm5hbGlzdGFbMV10AAVmYWxzZXQACV9fY29udGVudHQAX1Rlc3RlIGRlIGVycm8gYW8gcHVibGljYXIKZXNxdWVyZGEKZ2xlaWRtYXIKVGFnMTc2Q29udAo8cD50ZXN0ZTwvcD4KcmV1bmnDo28gYXMgMDk6NDAKZXNxdWVyZGEKdAAPcHQvRGF0YVNhaWRhWzFddAABMHQAEXB0L0RhdGFOb3RpY2lhWzFddAABMHQADXB0L1RhZ0NvbnRbMV10AApUYWcxNzZDb250dAAgcHQvQWxpbmhhckRlc3RhY2FyQmxvY29QYWRyYW9bMV10AAhlc3F1ZXJkYXQADXB0L1JlbGVhc2VbMV10AAVmYWxzZXQAEXB0L0RhdGFFbnRyYWRhWzFddAANMTQ0NDMwODEyMDAwMHhw</str><str
name="path">/sites/default/news/08_Teste_de_erro_ao_publicar.html</str><str
name="type">acompanheNoticias</str><str name="suffix">html</str><int
name="size">1084</int>
........
........
........
--
*www.solutioncms.com <http://www.solutioncms.com>The Brazilian Official
Provider OpenCms*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160226/be3b8804/attachment.htm>
More information about the opencms-dev
mailing list