fr.paris.lutece.plugins.search.solr.web
Class SolrSearchApp

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.web.SolrSearchApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class SolrSearchApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This page shows some features of Solr like Highlights or Facets.


Constructor Summary
SolrSearchApp()
           
 
Method Summary
static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request, java.lang.String strSource)
          Encode an url string
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns search results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrSearchApp

public SolrSearchApp()
Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.message.SiteMessageException
Returns search results

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The plugin
Returns:
The HTML code of the page.
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - exception

encodeUrl

public static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strSource)
                                  throws fr.paris.lutece.portal.service.message.SiteMessageException
Encode an url string

Parameters:
strSource - The string to encode
request - the http request
Returns:
The encoded string
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - exception


Copyright © 2010 Mairie de Paris. All Rights Reserved.