El módulo Search
Este módulo nos permite realizar búsquedas desde un bloque con un formulario de búsqueda.
A través de la url admin/config/search/settings podemos acceder al menú de configuración del módulo.
En el módulo podremos intentar regenerar el índice de contenidos o elegir que elementos queremos indexar o cual será el módulo responsable de la generación de los contenidos.
Dispondremos de un bloque que permitirá realizar las búsquedas desde donde le digamos con la configuración estándar de bloques por plantilla.
Disponer de un módulo así de base en Drupal está bien pero suele quedarse corto a la hora de realizar las búsquedas. Así que veremos otras alternativas a la generación de búsquedas de contenido.
Búsquedas con Views
Como vimos en el apartado de
Views y su continuación
Vistas, Vistas y más Vistas. Podemos llegar a colocar listados de información en pantalla que nos permitan buscar en el contenido de Drupal 7. El tema es cómo facilitarle la vida al usuario para que pueda filtrar en los contenidos de una manera dinámica y fácil.
Para ello podemos utilizar los Filtros de Criterios:
Estos criterios que podemos ir añadiendo tienen una característica curiosa y es que pueden llegar a ser expuestos a los usuarios. Si después de añadirlos pulsamos en cualquiera de ellos veremos que nos aparece una opción similar a esta:
Si seleccionamos la opción Expose this filter to visitors, to allow them to change it. debería ver en la vista esta opción visual. En el caso de colocar un criterio con búsqueda en el título, podríamos ver algo similar a esto en la vista desde la perspectiva de un visitante al sitio web:
De manera complementaria podemos llegar a colocar estos filtros también como bloques y colocarlos donde queramos. Para poder llegar a configurar estos bloques es necesario activar una funcionalidad avanzada:
Seleccionando en el apartado de Exposed Form y colocando en Exposed form un Block poniendo un Sí de esta manera nos aparecen nuevos bloques:
Ahora sólo deberíamos colocar aquellos filtros que nos interesen en una región y en la configuración del bloque indicar que se presenten en la URL de la vista y ya debería aparecer el bloque para que el usuario filtre de una manera sencilla los contenidos.
Búsquedas con Solr como indexador de contenido
Los módulos interesantes para la instalación son:
Después deberemos activar los módulos básicos de la búsqueda:
- Search API
- Database Search
- Solr Search
- Search API Autocomplete
- Search API Spellcheck
- Search facets
- Search Views
- Entity API
- Facet API
- Facet API Bonus
Configuración básica de Search API
Esta configuración puede hacerse desde la URL admin/config/search/search_api
Desde aquí podemos configurar los dos elementos principales del Search API: el servidor y el índice.
Al principio los dos elementos nos nos aparecen configurados pero con un par de pasos podemos crearlos de golpe:
Aquí lo más importante es darle un nombre que es obligatorio y decir que debe registrar el servicio de la BBDD con un mínimo de 1 palabra y que debe buscar por partes de una sólo palabra.
También puede seleccionares el servicio que queremos usar, bien el de database o el de Solr.
De esta manera permite usar distintos servicios con una misma configuración.
Después configuraremos el índice de la búsqueda:
Aquí es donde deberemos colocarle un nombre al índice de contenidos dependiendo de lo que queramos indexar, relacionarlo con un servidor, el que indicamos anteriormente y configurar cuándo debe indexarse el contenido. Normalmente suele recomendarse que se marque la opción Index ítems immediately.
A mayores disponemos de varias pestañas en la parte superior derecha:
- Vista con el resumen del índice, desde ahí podemos mandar reindexar el contenido.
- Editar: donde podemos cambiar la configuración base del índice.
- Fields: donde podemos seleccionar los campos que queremos indexar.
- Filters: los filtro que queremos realizar en la búsqueda.
- Facets: para colocar distintas facetas de la búsqueda
Aquí la parte más importante es la de los campos de la búsqueda que realizamos a través de la pestaña Fields:
Como puede verse podemos seleccionar todos los campos que nos interesen. Ya que estos campos los tendremos que utilizar en la View que creemos necesitaremos seleccionar muchos campos que habitualmente no haríamos en Views. El principal es el tipo de contenido.
Hay que recordar seleccionar cualquier campo que queramos utilizar en la View debe estar aquí seleccionado mediante la checkbox Indexed de cada campos.
A la derecha debería aparecernos el tipo de indexado, en el tipo de contenido con seleccionar texto sería suficiente ya que internamente utiliza un nombre de sistema o nombre máquina y es o es igual o no lo es. Pero en el resto de campos deberemos seleccionar Fulltext para poder buscar internamente dentro del campo.
Después de configurar todos los campos a indexar bastaría con irnos a la vista y comprobar que está todo el contenido indexado:
Si no está el contenido indexado debería pulsar en el botón Index Now.
Acceso al índice desde Views
En la selección de la entidad de búsqueda pondremos el índice que acabamos de crear, configuramos los campos que queremos visualizar, el tipo de formato, los criterios de búsqueda y el tipo de ordenado.
Simplemente recordar que todo campo que utilicemos en cualquiera de los apartados de la configuración de la vista deberán estar colocados en la configuración del índice y el contenido deberá estar indexado sino deberemos irnos a la vista del índice y volver a indexar el contenido de nuevo con cada cambio que hagamos en el índice sino es posible que no nos salga ningún contenido en la Vista.
Integración con Apache Solr
Apache Solr es un indexador de contenido ampliamente utilizado en el mundo web. En este apartado veremos como realizar su integración con Drupal 7.
Instalar el módulo de apache Solr
https://drupal.org/project/apachesolr
activar:
Apache Solr framework
Apache Solr search
Instalación de Solr
Descargar y descomprimir solr 3.6.2
apache-solr-3.6.2.zip
Copiar la configuración, todos los ficheros
desde drupal/sites/all/modules/apachesolr/solr-conf
desde el directorio apropiado
hasta apache-solr-3.6.2/example/solr/conf
arrancar solr
cd apache-solr-3.6.2/example/
java -jar start.jar
Debería dar una salida como esta:
2014-05-23 14:02:09.354:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2014-05-23 14:02:09.424:INFO::jetty-6.1-SNAPSHOT
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to ‘solr/’ (could not find system property or JNDI)
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for deduced Solr Home: ‘solr/’
23-may-2014 14:02:09 org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to ‘solr/’ (could not find system property or JNDI)
23-may-2014 14:02:09 org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /Users/pepesan/Desktop/apache-solr-3.6.2/example/solr/solr.xml
23-may-2014 14:02:09 org.apache.solr.core.CoreContainer load
INFO: Loading CoreContainer using Solr Home: ‘solr/’
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for directory: ‘solr/’
23-may-2014 14:02:09 org.apache.solr.core.CoreContainer create
INFO: Creating SolrCore ” using instanceDir: solr/.
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for directory: ‘solr/./’
23-may-2014 14:02:09 org.apache.solr.core.SolrConfig initLibs
INFO: Adding specified lib dirs to ClassLoader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-core-0.7.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-core-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-core-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-dom-0.7.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-dom-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/apache-mime4j-dom-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/asm-3.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/asm-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/asm-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcmail-jdk15-1.45.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcmail-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcmail-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcprov-jdk15-1.45.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcprov-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/bcprov-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/boilerpipe-1.1.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/boilerpipe-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/boilerpipe-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/commons-compress-1.3.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/commons-compress-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/commons-compress-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/dom4j-1.6.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/dom4j-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/dom4j-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/fontbox-1.6.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/fontbox-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/fontbox-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/icu4j-4.8.1.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/icu4j-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/icu4j-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jdom-1.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jdom-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jdom-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jempbox-1.6.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jempbox-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/jempbox-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/metadata-extractor-2.4.0-beta-1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/metadata-extractor-LICENSE-PD.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/netcdf-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/netcdf-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/pdfbox-1.6.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/pdfbox-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/pdfbox-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-3.8-beta4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-3.8-beta4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-schemas-3.8-beta4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-schemas-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-ooxml-schemas-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-scratchpad-3.8-beta4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-scratchpad-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/poi-scratchpad-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/rome-0.9.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/rome-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/rome-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tagsoup-1.2.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tagsoup-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tagsoup-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-core-1.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-core-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-core-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-parsers-1.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-parsers-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/tika-parsers-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xercesImpl-2.8.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xercesImpl-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xercesImpl-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xml-apis-1.0.b2.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xml-apis-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xml-apis-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xmlbeans-2.3.0.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xmlbeans-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/extraction/lib/xmlbeans-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/carrot2-core-3.5.0.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/carrot2-core-LICENSE-BSD_LIKE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/carrot2-core-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/hppc-0.3.4-jdk15.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/hppc-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/hppc-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-core-asl-1.7.4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-core-asl-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-core-asl-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-mapper-asl-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/jackson-mapper-asl-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-collections-0.3.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-collections-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-collections-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-math-0.3.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-math-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/mahout-math-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/simple-xml-2.4.1.jar’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/simple-xml-LICENSE-ASL.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding ‘file:/Users/pepesan/Desktop/apache-solr-3.6.2/contrib/clustering/lib/simple-xml-NOTICE.txt’ to classloader
23-may-2014 14:02:09 org.apache.solr.core.SolrConfig <init>
ADVERTENCIA: <indexDefaults> and <mainIndex> configuration sections are deprecated (but still work). Please use <indexConfig> instead.
23-may-2014 14:02:09 org.apache.solr.core.SolrConfig <init>
INFO: Using Lucene MatchVersion: LUCENE_35
23-may-2014 14:02:09 org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
23-may-2014 14:02:09 org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
23-may-2014 14:02:09 org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=drupal-4.1-solr-3.x
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created binary: org.apache.solr.schema.BinaryField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created integer: org.apache.solr.schema.TrieIntField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.TrieFloatField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.TrieLongField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.TrieDoubleField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.TrieIntField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.TrieFloatField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.TrieLongField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.TrieDoubleField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tint: org.apache.solr.schema.TrieIntField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tfloat: org.apache.solr.schema.TrieFloatField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tlong: org.apache.solr.schema.TrieLongField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tdouble: org.apache.solr.schema.TrieDoubleField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created pfloat: org.apache.solr.schema.FloatField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created file: org.apache.solr.schema.ExternalFileField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.DateField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tdate: org.apache.solr.schema.TrieDateField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_ws: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.MappingCharFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LengthFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SnowballPorterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.MappingCharFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LengthFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SnowballPorterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LengthFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LengthFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_und: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.KeywordTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.KeywordTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.EdgeNGramFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created edge_n2_kw_text: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StandardTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LengthFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textSpell: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.KeywordTokenizerFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sortString: org.apache.solr.schema.TextField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created rand: org.apache.solr.schema.RandomSortField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created ignored: org.apache.solr.schema.StrField
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created point: org.apache.solr.schema.PointType
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created location: org.apache.solr.schema.LatLonType
23-may-2014 14:02:10 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created geohash: org.apache.solr.schema.GeoHashField
23-may-2014 14:02:10 org.apache.solr.schema.IndexSchema readSchema
INFO: default search field in schema is content
23-may-2014 14:02:10 org.apache.solr.schema.IndexSchema readSchema
INFO: query parser default operator is AND
23-may-2014 14:02:10 org.apache.solr.schema.IndexSchema readSchema
INFO: unique key field: id
23-may-2014 14:02:10 org.apache.solr.core.SolrCore <init>
INFO: [] Opening new SolrCore at solr/./, dataDir=solr/./data/
23-may-2014 14:02:10 org.apache.solr.core.SolrCore <init>
INFO: JMX monitoring not detected for core:
23-may-2014 14:02:10 org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]}
23-may-2014 14:02:10 org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=solr rocks,start=0,rows=10}]}
23-may-2014 14:02:10 org.apache.solr.core.SolrCore initWriters
INFO: created json: solr.JSONResponseWriter
23-may-2014 14:02:10 org.apache.solr.core.SolrCore initWriters
INFO: created xslt: solr.XSLTResponseWriter
23-may-2014 14:02:10 org.apache.solr.response.XSLTResponseWriter init
INFO: xsltCacheLifetimeSeconds=5
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created pinkPony: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created mlt: solr.MoreLikeThisHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created standard: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update: solr.XmlUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/javabin: solr.BinaryUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.CSVRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/csv: solr.CSVRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.JsonUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/json: solr.JsonUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.extraction.ExtractingRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/extract: solr.extraction.ExtractingRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.XsltUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/xslt: solr.XsltUpdateRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.FieldAnalysisRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/field: solr.FieldAnalysisRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/: solr.admin.AdminHandlers
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/ping: solr.PingRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /debug/dump: solr.DumpRequestHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /replication: solr.ReplicationHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /spell: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created tvrh: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /terms: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /elevate: solr.SearchHandler
23-may-2014 14:02:10 org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@7578a7d9 main
23-may-2014 14:02:10 org.apache.solr.update.CommitTracker <init>
INFO: commitTracker AutoCommit: if uncommited for 120000ms; if 10000 uncommited docs
23-may-2014 14:02:10 org.apache.solr.handler.component.QueryElevationComponent inform
INFO: Loading QueryElevation from: /Users/pepesan/Desktop/apache-solr-3.6.2/example/solr/./conf/elevate.xml
23-may-2014 14:02:10 org.apache.solr.handler.component.SpellCheckComponent inform
INFO: Initializing spell checkers
23-may-2014 14:02:10 org.apache.solr.handler.component.SpellCheckComponent inform
INFO: Registering newSearcher listener for spellchecker: default
23-may-2014 14:02:10 org.apache.solr.handler.component.SpellCheckComponent inform
INFO: No queryConverter defined, using default converter
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7691a4fb
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@53e6978d
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@47e7d503
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@4551dcd6
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.StatsComponent@1798928
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.SpellCheckComponent@521ba1d9
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@141ed7ac
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting socketTimeout to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting urlScheme to: http://
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting connTimeout to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxConnectionsPerHost to: 20
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting corePoolSize to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maximumPoolSize to: 2147483647
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxThreadIdleTime to: 5
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting sizeOfQueue to: -1
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting fairnessPolicy to: false
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7691a4fb
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@53e6978d
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@47e7d503
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@4551dcd6
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.StatsComponent@1798928
23-may-2014 14:02:10 org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@141ed7ac
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting socketTimeout to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting urlScheme to: http://
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting connTimeout to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxConnectionsPerHost to: 20
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting corePoolSize to: 0
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maximumPoolSize to: 2147483647
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxThreadIdleTime to: 5
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting sizeOfQueue to: -1
23-may-2014 14:02:10 org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting fairnessPolicy to: false
23-may-2014 14:02:10 org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener sending requests to Searcher@7578a7d9 main
23-may-2014 14:02:10 org.apache.solr.core.CoreContainer register
INFO: registering core:
23-may-2014 14:02:10 org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/Users/pepesan/Desktop/apache-solr-3.6.2/example
23-may-2014 14:02:10 org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
23-may-2014 14:02:10 org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
23-may-2014 14:02:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
23-may-2014 14:02:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to ‘solr/’ (could not find system property or JNDI)
23-may-2014 14:02:10 org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
23-may-2014 14:02:10 org.apache.solr.core.SolrCore execute
INFO: [] webapp=null path=null params={start=0&event=firstSearcher&q=solr+rocks&rows=10} hits=0 status=0 QTime=40
23-may-2014 14:02:10 org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
23-may-2014 14:02:10 org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: default
23-may-2014 14:02:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
23-may-2014 14:02:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to ‘solr/’ (could not find system property or JNDI)
23-may-2014 14:02:10 org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
23-may-2014 14:02:10 org.apache.solr.core.SolrCore registerSearcher
INFO: [] Registered new searcher Searcher@7578a7d9 main
2014-05-23 14:02:10.591:INFO::Started SocketConnector@0.0.0.0:8983
Lo importante es el
INFO: [] Registered new searcher Searcher@7578a7d9 main
2014-05-23 14:02:10.591:INFO::Started SocketConnector@0.0.0.0:8983
Esto significa que el servidor debería estar arrancado en:
http://localhost:8983/solr/admin
Desde el Drupal deberíamos ir a la configuración de Solr
admin/config/search/apachesolr
Debería aparecer la configuración de solr si el servidor está arrancado
Si no podremos cambiar la configuración de Solr desde la URL admin/config/search/apachesolr/settings
Desde la configuración de Solr podemos gestionar la indexación de los contenidos y ver cómo van indexados. Incluso decir qué tipos de contenido queremos indexar o mandar a indexar nuestro propio contenido.
La búsqueda desde Solr
Para luego tener acceso a la búsqueda desde Solr deberemos accedes a las páginas o bloques que tenemos acceso desde el módulo:
Como puede verse disponemos inicialmente de dos páginas y un bloque.
La página principal de búsqueda la tendremos desde la URL search/site que podremos utilizar luego desde cualquier menú o enlace.
Tendría un aspecto similar al siguiente:
Así podríamos buscar en los contenidos el sitio o incluso los usuarios con una caja de búsqueda muy sencilla, que al rellenar y enviar nos saca los resultados de la misma:
Incluye por supuesto un paginador para navegar por los resultados.
Referencias
Relacionado
Comments