Re: SolrCore as Singleton?

2006-09-08 Thread Andrew May

Chris Hostetter wrote:

: Nice.  Is the same doable under Jetty? (never had to deal with JNDI
: under Jetty)

i haven't tried it personally, but according to Yoav "reading" JNDI
options is part of hte Servlet Spec, and billa found a refrene to
useing "" to do so...

http://www.nabble.com/Re%3A-multiple-solr-webapps-p3991310.html

...where exactly that option goes in Jetty's configuration isn't something
i'm clear on.



 values go in web.xml, so it would mean having modified versions of solr.war 
for each collection.


 is an optional part of the Servlet spec for standalone servlet 
implementations. The basic version of Jetty does not have any JNDI support, you need to 
use JettyPlus (http://jetty.mortbay.org/jetty5/plus/index.html) for that.


-Andrew


Simple Faceted Searching out of the box

2006-09-08 Thread Chris Hostetter

Hey everybody, I just wanted to officially announce that as of the
solr-2006-09-08.zip nightly build, Solr supports some simple Faceted
Searching options right out of the box.

Both the StandardRequestHandler and DisMaxRequestHandler now support some
query params for specifying simple queries to use as facet constraints, or
fields in your index you wish to use as facets - generating a constraint
count for each term in the field.  All of these params can be configured
as "defaults" when registering the RequestHandler in your solrconfig.xml

Information on what the new facet parameters are, how to use them, and
what types of resultsthey generate can be found in the wiki...

http://wiki.apache.org/solr/SimpleFacetParameters
http://wiki.apache.org/solr/StandardRequestHandler
http://wiki.apache.org/solr/DisMaxRequestHandler

...as allways: feedback, comments, suggestions and general discussion is
strongly encouraged :)


-Hoss