Pregunta

I have installed Solr 3.6.2 and drupal 7 on xampp for linux on my server. i have also installed solr integration module apachesolr-7.x-1.1.zip

1) when i index a file say book.csv where is this file getting stored in solr.( path_to folder name ??)

2) To know the total files indexed as well as the file names that got indexed ?

3) I am unable to understand the query syntax for solr ? what is q ,wt , what are the various parsers and implications of each ?

4) How do i find the path to the file which got indexed ? Suppose i have a file that i indexed and when i do a query search it should return the path name of the file from where it got indexed so that i could open the file for users to view it.

¿Fue útil?

Solución

1) 4) The uploaded file is split into its documents; and documents are taken apart and put into an index. Its similar an index volume of the world book: 'relativity' might point to 'M' volume for 'modern physics' and 'E' volume for 'Einstein'. Or a book that classifies taxpayers by tax brackets.

This behavior is controlled by stored and indexed properties in schema.

The data goes into data directory of solr (next to conf). You can backup this directory by copying it.

2) http://wiki.apache.org/solr/CommonQueryParameters and http://wiki.apache.org/solr/SimpleFacetParameters . Particularly use fl

3) Please try solr for yourself. You can get it up and try queries in no time.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top