Re: Sites with Innovative Presentation of Tags and Facets
On 5/28/2010 9:31 PM, Chris Hostetter wrote: : Perhaps you could show the 'nr of items left' as a tooltip of sorts when the : user actually drags the slider. Years ago, when we were first working on building Solr, a coworker of mind suggested using double bar sliders (ie: pick a range using a min and a max) for all numeric facets and putting "sparklines" above them to give the user a visual indication of the "spread" of documents across the numeric spectrum. it wsa a little more complicated then anything we needed -- and seemed like a real pain in hte ass to implement. i still don't know of anyone doing anything like that, but it's definitley an interesting idea. The hard part is really just deciding what "quantum" interval you want to use along the xaxis to decide how to count the docs for the y axis. http://en.wikipedia.org/wiki/Sparkline http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR -Hoss I love the idea of a sparkline at range-sliders. I think if I have time, I might add them to the range sliders on our site. I already have all the data since I show the count for a range while the user is dragging by storing the facet counts for each interval in javascript.
Re: Solr 1.4 query fails against all fields, but succeed if field is specified.
On 5/31/2010 11:50 AM, olivier sallou wrote: Hi, I have created in index with several fields. If I query my index in the admin section of solr (or via http request), I get results for my search if I specify the requested field: Query: note:Aspergillus (look for "Aspergillus" in field "note") However, if I query the same word against all fields ("Aspergillus" or "all:Aspergillus") , I have no match in response from Solr. Do you have any idea of what can be wrong with my index? Regards Olivier Look for the tag in your schema.xml. The field defined in it determines the default field which is searched when no explicit field is specified in your query. Regards, gwk
Re: Restricting the values returned by Facet Fields using Filter Query
On 5/31/2010 12:01 PM, Ninad Raut wrote: Hi, Is it possible to restrict the values returned by Facet Fields using Filter Queries to Group on only those documents will pass the filter query passed in filter criteria?? I am under the assumption that fq is disjoint from facet.field function. Let me know if my assumptions are right or wrong. Regards, Ninad R Hi, Filter queries do restrict the documents set used for faceting. In fact you have to explicitly turn it off if you don't want it to by using tagging/excluding (see http://wiki.apache.org/solr/SimpleFacetParameters#LocalParams_for_faceting). Regards, gwk