[opencms-dev] CmsSolrResultList Issue

Jose Fermin Athie Campollo athiecampollo at gmail.com
Thu Aug 4 21:08:46 CEST 2016


Hi Asif
Have you tried?
*Reload de index Solr Online
*Check the index have the files you needd
*Check with the query
http://documentation.opencms.org/opencms-documentation/solr-search-integration/#1.2.1


El jue., 4 de ago. de 2016 a la(s) 06:44, Asif G. Khan <
agkhan at globalrescue.com> escribió:

> Having issue with “Keywords” property of files is not being indexed in
> solr. I cannot find “Keywords_prop” field in search results.
>
>
>
> Thanks
>
>
>
> *Asif G. Khan*
>
> Associate Architect
>
> Global Rescue LLC
>
> Ph: 92-51-2804125
>
> agkhan at globalrescue.com
>
>
>
> In the event of an emergency, please contact the Global Rescue Operations
> Center at 617-459-4200
>
>
>
> *CONFIDENTIALITY & PRIVACY NOTICE* - The information transmitted in this
> email is intended only for the person or entity to which it is addressed
> and may contain confidential, proprietary and/or privileged material.
>
> Any review, retransmission, dissemination or other use of or taking of any
> action in reliance upon this information by persons or entities other than
> the intended recipient is prohibited.
>
> If you received this email in error, please advise the sender and
> permanently delete this message, all copies and any attachments from your
> records immediately.
>
>
>
> *From:* opencms-dev-bounces at opencms.org [mailto:
> opencms-dev-bounces at opencms.org] *On Behalf Of *Asif G. Khan
> *Sent:* 01 August 2016 18:28
> *To:* Tobias Karrer <kartobi at gmail.com>; opencms-dev at opencms.org
> *Subject:* Re: [opencms-dev] CmsSolrResultList Issue
>
>
>
> Thanks Tobias, Yes it solved my problem. Actually whenever page has some
> error in code, the same error message shows up.
>
> I just used JSP for quicker experiments. I will definitely use formatters
> for actual pages.
>
>
>
>
>
>
>
> *Asif G. Khan*
>
> *From:* Tobias Karrer [mailto:kartobi at gmail.com <kartobi at gmail.com>]
> *Sent:* 27 July 2016 17:16
> *To:* Asif G. Khan <agkhan at globalrescue.com>; opencms-dev at opencms.org
> *Subject:* AW: [opencms-dev] CmsSolrResultList Issue
>
>
>
> Hi Asif,
>
>
>
> I think changing "solr_online" to "Solr Online" should solve your problem.
>
> Or did you rename the standard index?
>
>
>
> BTW:
>
> Why don’t you use the solr collector in jsp? (see
> http://documentation.opencms.org/opencms-documentation/solr-search-integration/#1.4
> )
>
>
>
> Best,
>
> Tobias
>
>
>
> *Von: *Asif G. Khan <agkhan at globalrescue.com>
> *Gesendet: *Dienstag, 26. Juli 2016 12:49
> *An: *opencms-dev at opencms.org
> *Betreff: *[opencms-dev] CmsSolrResultList Issue
>
>
> I have following code in a JSP page. When I run the page in browser, it
> does not show anything and instead throws an error “Failed to load the
> bootstrap javascript: ./VAADIN/vaadinBootstrap
> <https://vaadin.com/forum#!/thread/2438273>.js”
>
>
>
>
>
> <%@ page pageEncoding="UTF-8" %>
>
> <%@ page import="org.opencms.main.*" %>
>
> <%@ page import="org.opencms.search.*" %>
>
> <%@ page import="org.opencms.search.solr.*" %>
>
> <%@ page import="org.opencms.jsp.*" %>
>
> <%@ page import="java.util.*" %>
>
> <%@ page import="java.io.*" %>
>
> <%
>
> String query="fq=type:Blog-Entry";
>
> CmsSolrResultList results =
> OpenCms.getSearchManager().getIndexSolr("solr_online").search(getCmsObject(),
> query);
>
> %>
>
> <h1><%= results.size() %></h1>
>
>
>
>
>
>
>
> Thanks
>
> *Asif G. Khan*
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160804/8169e346/attachment.htm>


More information about the opencms-dev mailing list