[opencms-dev] Solar Search

Schliemann, Kai K.Schliemann at comundus.com
Thu Jul 21 16:46:29 CEST 2016


Hi guys,
there should be no problem with JSPs being exported or not. Usually JSPs are never exported, but saved in WEB-INF/JSP. This is kind of a caching mechanism.

So when your search does not work, this could have several reasons.
Check the following:

1.       Are you searching in the correct index (check your “search.jsp” and / or the property “search.index” of the file your search.jsp is requested from (some index.html in sites/default/)?

2.       Is the index you are searching in filled with data (check with luke)?

3.       You could also check with handleSolrSelect, if you get results (see http://documentation.opencms.org/opencms-documentation/solr-search-integration/ for details)
HTH
Best regards
Kai

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Asif G. Khan
Gesendet: Donnerstag, 21. Juli 2016 15:46
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Solar Search

Hello Mario,

My problem solved as I was using exported pages assuming them as “Online project”. So as Exported site contains static pages therefore we cannot Run JSPs in it.
I solved by not exporting anything and exposed Online project as Public site.

The problem is that although being too old project OpenCMS does not have a concise documentation and tutorials. Mostly you have to explore things by yourself.

Regards

Asif G. Khan
Associate Architect
Global Rescue LLC

From: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Mario García Sánchez
Sent: 21 July 2016 16:28
To: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Subject: Re: [opencms-dev] Solar Search

Hello,
I have the same problem with Online search results, it works fine in Offline, but i havent any results in Online projet.
What can i do?
is it a bug in the opencms 10 api?

Regards


2016-07-02 12:03 GMT+02:00 Asif G. Khan <agkhan at globalrescue.com<mailto:agkhan at globalrescue.com>>:
I also noticed that both JSPs are being exported to /WEB-INF/jsp folder.

How can I call and use a jsp file from inside /Web-INF/jsp folder?

I also copied Results.jsp manually into my webapp but its not running and showing 500 error.



Asif G. Khan

From: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org>] On Behalf Of Asif G. Khan
Sent: 02 July 2016 13:26

To: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Subject: Re: [opencms-dev] Solar Search

One more issue regarding search ….

I have created two JSP files

1.       SearchForm.jsp (simple html form)

2.       Results.jsp (contains JAVA code for displaying search results)

When I publish them, Only SearchForm.jsp gets exported and not Results.jsp.


Thanks

Asif G. Khan


From: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Asif G. Khan
Sent: 02 July 2016 10:33
To: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Subject: Re: [opencms-dev] Solar Search

Thanks guys … I solved my issue by not using provided Search Element and coded JSPs myself … Somehow Search Element is not working properly in Online projects with me.

Asif G. Khan

In the event of an emergency, please contact the Global Rescue Operations Center at 617-459-4200<tel: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> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jose Fermin Athie Campollo
Sent: 30 June 2016 19:36
To: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Subject: Re: [opencms-dev] Solar Search

Hello Asif,

My suggest is to check the index you are using, if the rebuild doesn't work.

Regards
Fermin Athie

El jue., 30 de jun. de 2016 a la(s) 09:32, Antonio Cordeddu <antoniocordeddu at coranto.it<mailto:antoniocordeddu at coranto.it>> escribió:
Hello Asif,

I suggest to check rebuild mode for Solr Online and to rebuild it.

Kind regards
Antonio Cordeddu



_______________________________________________

Coranto informatica di Antonio Cordeddu

antoniocordeddu at coranto.it<mailto:antoniocordeddu at coranto.it>

Skype: antonio.cordeddu

http://www.coranto.it

_______________________________________________



On 30/06/2016 12:07, Asif G. Khan wrote:
Hello,

I have configured Solar Search for my website. It works fine in Offline project and returns results but do not return any results in Online project.
Any idea what did I miss to configure?

Regards

Asif G. Khan
Associate Architect
Global Rescue LLC
Ph: 92-51-2804125
agkhan at globalrescue.com<mailto:agkhan at globalrescue.com>

In the event of an emergency, please contact the Global Rescue Operations Center at 617-459-4200<tel: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.



_______________________________________________

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







_______________________________________________
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

_______________________________________________
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/20160721/891e143b/attachment.htm>


More information about the opencms-dev mailing list