Re: Sites with Innovative Presentation of Tags and Facets

2010-05-29 Thread Dennis Gearon
I'm interested in this stuff, but what is a 'sparkline', and can I get a URL of an example? Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Fri, 5/28/10, Chris Hostet

Re: Solr trunk and Jetty threadpool implementation problem

2010-05-29 Thread Mark Miller
On 5/29/10 3:13 AM, Chris Hostetter wrote: : Wow, thanks for the heads-up David! : This probably got inadvertently changed when Jetty was upgraded... : sounds like we should prob change back to BoundedThreadPool as a : default! it seems to have been a deliberate choice miler made, it was a dist

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-29 Thread Gora Mohanty
On Sat, 29 May 2010 00:00:57 -0700 (PDT) Dennis Gearon wrote: > I'm interested in this stuff, but what is a 'sparkline', and can > I get a URL of an example? [...] Here is one that I recently came across, and liked (look at the last example): http://moritz.stefaner.eu/projects/elastic-lists/ The

Re: Prefix-Search with Stopwords - no results?

2010-05-29 Thread Gert Brinkmann
Thank you, Chris and Erick, for the answers, it was new to me that "the*" is expanded to all known the* words in the index. Good to know. And yes, the AND operation between the query terms are certainly the problem. (I would like to switch to OR instead. The result set will grow the more wo

Re: Prefix-Search with Stopwords - no results?

2010-05-29 Thread Erick Erickson
Well, the index does, indeed, get bigger. But the searches get much faster because there's no term expansion going on. It's another time/space tradeoff. I'm afraid you'll have to just experiment a bit to see if this is an acceptable tradeoff. in your particular situation The real memory hit i

facet order

2010-05-29 Thread search
Hi, how can i configuratively order facets according to total count of facet fields? for example - facets with the highest count be on top. facet1 [0] abc (20) def (18) ghi (16) facet2 [1] jkl (10) mno (9) pqr (2) thanks dev.

Re: facet order

2010-05-29 Thread Furkan Kuru
use: facet.sort=true http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort On Sat, May 29, 2010 at 3:53 PM, wrote: > Hi, > > how can i configuratively order facets according to total count of facet > fields? > > for example - facets with the highest count be on top. > > facet1 [0] > ab

Re: Solr trunk and Jetty threadpool implementation problem

2010-05-29 Thread Yonik Seeley
David, if it's fast for you to reproduce, would it be possible for you to try the latest Jetty 6.1.24 and see if the issue still exists? http://dist.codehaus.org/jetty/ Seems like we should upgrade to 6.1.24 anyway (there were quite a few fixes in 6.1.23) http://jira.codehaus.org/secure/ReleaseNot

matching only empty fields

2010-05-29 Thread Lukas Kahwe Smith
Hi, I have implemented a facet search, where users essentially select what should not be included. I do this by constructing an fq filter where I match for the deselected items that I then negate: $fq = "{!tag=dt}!($fq)"; $criteria->addParam('fq', $fq); Now in some cases

Re: matching only empty fields

2010-05-29 Thread Yonik Seeley
On Sat, May 29, 2010 at 10:01 AM, Lukas Kahwe Smith wrote: > Hi, > > I have implemented a facet search, where users essentially select what should > not be included. I do this by constructing an fq filter where I match for the > deselected items that I then negate: >            $fq = "{!tag=dt}!

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-29 Thread Chris Hostetter
: I'm interested in this stuff, but what is a 'sparkline', and can I get a URL of an example? The email in this thread where i first suggested that sparklines on numeric facets would be cool had two links, one to the definitive Sparklines essay by Tufte http://en.wikipedia.org/wiki/Spark

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-29 Thread Chris Hostetter
: Here is one that I recently came across, and liked (look at the : last example): http://moritz.stefaner.eu/projects/elastic-lists/ : The code has apparently also been recently open-sourced. Ah... that is a pretty awesome visual UI for facets -- and they do use sparklines but not in the way i w

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-29 Thread Chris Hostetter
: see that economics prizes were added relatively late) but there isn't a : sparkline showing the statistical distribution of values across numeric : fields -- the only numeric field is year (well, they also have decade but : that's the same thing) and by having hte sparkline on the constraints

Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
My solr index works fine with the embedded Jetty. I'm trying to move the index to Tomcat. Following the wiki page http://wiki.apache.org/solr/SolrTomcat, I put this line in setenv.bat: set JAVA_OPTS=%JAVA_OPTS% "-Dfile.encoding=UTF-8" "-Dsolr.solr.home=D:\opt\solr\example" Tomcat seems to be pick

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread K Wong
There are directions on this page under Tomcat on Windows > Multiple Solr apps: http://wiki.apache.org/solr/SolrTomcat I'm running a multicore install on RHEL5/Tomcat5.5 and I just followed the docs and it went fine. I'm not sure that I can be of much help other than pointing you to the relevant

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread Abdelhamid ABID
Most likely you have missed to point data directory in solrconf.xml, this should help : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter On Sat, May 29, 2010 at 9:48 PM, jlist9 wrote: > My solr index works fine with the embedded Jetty. I'm trying to move the > index to Tomcat. Followi

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
I only have one solr instance so I followed the "Single Solr Instance", which basically tells me to set -Dsolr.solr.home to the solr directory, which I did ... On Sat, May 29, 2010 at 2:32 PM, K Wong wrote: > There are directions on this page under Tomcat on Windows > Multiple Solr > apps: > > h

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread Chris Hostetter
: Most likely you have missed to point data directory in solrconf.xml, : this should help : : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter right .. double check what the dataDir setting looks like ... if it's unset it uses "data" in your solr instance directory, but if it is set,

Re: NoSuchFieldError: submap

2010-05-29 Thread Mauricio Scheffer
Thanks Hoss, yeah I had an outdated jar, I ran ant clean then ant dist and all is well now. -- Mauricio On Fri, May 28, 2010 at 3:39 PM, Chris Hostetter wrote: > > : Hi, I'm trying to build from source to apply the field collapsing patch. > : 'Ant dist' runs just fine, no errors, but at startup

Re: facet order

2010-05-29 Thread search
oh yes thats correct, but that orders the items inside a facet. i am using multiple facet fields. so i want to have the field with the most items first. thanks. > use: facet.sort=true > > > http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort > > > On Sat, May 29, 2010 at 3:53 PM, wrote

RIA sample and minimal JARs required to embed Solr

2010-05-29 Thread Thomas J. Buhr
Solr, The Solr 1.4 EES book arrived yesterday and I'm very much enjoying it. I was glad to see that "rich clients" are one case for embedding Solr as this is the case for my application. Multi Cores will also be important for my RIA. The book covers a lot and makes it clear that Solr has extens

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
Thanks! I tried that and it worked. It turned out that I also need to set -Dsolr.data.dir=/opt/solr/example/data On Sat, May 29, 2010 at 3:07 PM, Abdelhamid ABID wrote: > Most likely you have missed to point data directory in solrconf.xml, > this should help : > http://wiki.apache.org/solr/SolrC

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
You are right. Thanks Chris! On Sat, May 29, 2010 at 4:15 PM, Chris Hostetter wrote: > > : Most likely you have missed to point data directory in solrconf.xml, > : this should help : > : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter > > right .. double check what the dataDir setting

Luke browser does not show non-String Solr fields?

2010-05-29 Thread jlist9
I tried the stand-alone Luke tool (not Luke request handler) to browse a solr index and find a few strange things: 1. Queries like "id:123" which work fine in /solr/admin web interface returns nothing in Luke. "*:*" returns everything fine in Luke. 2. When Luke displays records with query "*:*",

Re: facet order

2010-05-29 Thread Chris Hostetter
: i am using multiple facet fields. so i want to have the field with the : most items first. the facet fields are returned i nthe order they were requested in the params -- reordering them in the client is trivial, so setting up special commands to re-order them on the server side isn't somethi

Re: Build query programmatically with lucene, but issue to solr?

2010-05-29 Thread Chris Hostetter
: I am building up a query with quite a bit of logic such as parentheses, plus : signs, etc... and it's a little tedious dealing with it all at a string : level. I was wondering if anyone has any thoughts on constructing the query : in lucene and using the string representation of the query to se

Re: Rebuild an index

2010-05-29 Thread Chris Hostetter
: We use Drupal as the CMS and Solr for our search engine needs and are : planning to have Solr Master-Slave replication setup across the data : centers. I am in the process of testing my replication - what is the : best means to delete the index on the Solr slave and then replicate a : fresh copy

Re: nested querries, and LocalParams syntax

2010-05-29 Thread Chris Hostetter
In addition to yonik's point about the LocalParams wiki page (and please let us know if you aren't sure of the answers to any of your questions after reading it) I wanted to clear up one thing... : Let's start with that not-nested query example. Can you in fact use it as : above, to force dis