Re: index browsing with solr
http://localhost:8983/solr/select?qt=indexinfo&wt=ruby&indent=on Though IndexInfoRequestHandler is practically obsolete with Ryan's "Luke" contribution... isn't that so, Ryan? functionality-wise, yes. I pointed to the IndexInfoRequestHandler because it is the simplest SolrRequestHandler that gets into lucene internals. Adding term browsing to it is really straight forward - thats how i stumbled into writing the "luke" thing! I'm not sure I understand... Ryan, how can I have access to your contribution ? (is it a contribution to Luke or to the solr rest interface ?) Is this implemented yet, and if so, how can I use it ? Thanks. Pierre-Yves Landron _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Re: index browsing with solr
I'm not sure I understand... Ryan, how can I have access to your contribution ? (is it a contribution to Luke or to the solr rest interface ?) Is this implemented yet, and if so, how can I use it ? Thanks. Solr has a pluggable request handling framework that lets you easily write custom logic and takes care of the xml/json/etc writing for you. Check: http://wiki.apache.org/solr/SolrPlugins#head-7c0d03515c496017f6c0116ebb096e34a872cb61 http://wiki.apache.org/solr/SolrRequestHandler Since the exact term browsing mechanism you asked for is not supported, I suggested writing your own and looking to the IndexInfoRequestHandler as a simple starting place. After more thought (and Yonik pointing it out), you are probably best off if you can use faced browsing to do what you need. http://wiki.apache.org/solr/SolrFacetingOverview The 'luke' comments are unrelated to your direct question, but you can check that out here: http://issues.apache.org/jira/browse/SOLR-162 ryan
Overriding Ranking in solr
Is there a way to add a plug in to override the ranking in Solr? e.g. my ranking is based on distance from a Geo location provided in the query. Thanks, Shai
Document boost not reflected in fieldNorm
Hi all, I've got a keyword field defined as a text_ws type in my Solr schema, and it always contains one or two of about 20 fixed values. When documents get added, they have a boost supplied, where this varies from just above 0 to a max of 2.0. When I do do a query on that keyword field, I was expecting that the ordering of the results would match the boost values, now that I'm no longer specifying omitNorms="true" for the field. But I still get seemingly random results. When I use the full search interface in Solr, the results for two documents with different boosts looks like: 4.687879 = (MATCH) fieldWeight(keyword:test in 114), product of: 1.0 = tf(termFreq(keyword:test)=1) 2.678788 = idf(docFreq=1865) 1.75 = fieldNorm(field=keyword, doc=114) 4.687879 = (MATCH) fieldWeight(keyword:test in 625), product of: 1.0 = tf(termFreq(keyword:test)=1) 2.678788 = idf(docFreq=1865) 1.75 = fieldNorm(field=keyword, doc=625) I was expecting the fieldNorm() value to be different, because of the different document boost values. What am I missing? Thanks, -- Ken -- Ken Krugler Krugle, Inc. +1 530-210-6378 "Find Code, Find Answers"