Hi,
I am new to
Solr (and Velocity), and have downloaded Solr 4.0 from
http://lucene.apache.org/solr/downloads.html.
I started the example solr, and indexed the XML files in the /exampledocs
directory. Next, I pointed the browser to: http://localhost:8983/solr/browse
and I get the results along with the search and faceted search functionality. I
am interested in learning how this example works. I hope some of you can help
me with the following questions:
1. In
this example, we seem to be using the Velocity templates in:
/example/solr/collection1/conf/velocity.
The overall page at http://localhost:8983/solr/browse seems to be generated
from browse.vm - which seems to include (parse) other
templates. My question here is that I see things like
$response.response.clusters
– Where can I know what properties the “response” object has, or the “clusters”
object has? Also there seem to be some methods like display_facet_query() –
where is this defined. Is there some documentation for this, or some way I can
find this out? I might need to modify these values, hence my question. (I am
completely new to Velocity – but I think I get some idea by looking at the
templates.)
2. In http://localhost:8983/solr/browse page, we have a list of Query
Facets. Right now I just see two: ipod and GB?
How are these values obtained? Do they come from elevate.xml?? Here I see ipod,
but not GB.
I would appreciate any help on these questions. If the above description is not
clear please let me know.
Thank you,
O. O.