Re: something i think about facet

2007-05-08 Thread James liu
aha,,i Just wanna show the count. thks, Hoss 2007/5/8, Chris Hostetter [EMAIL PROTECTED]: : if use 100 facets,,,it will cost more than use 10 facet. you can't show the top 10 unless you calculate the count for all of them. if you are using facet.field, Solr is already computing the

sorting problem

2007-05-08 Thread Gal Nitzan
Hi, I have 2 fields which I would like to sort by, one is a date field and the other is sint. My query tries to search all entries which their ctype is video sorted by tstamp descending and then sorted by popularity: q=ctype:video;tstamp desc;popularity descfl=tstamp,popularity However the

cwd requirement to run Solr with Tomcat

2007-05-08 Thread Teruhiko Kurosaka
I struggled to run Solr in Tomcat 5.5 (or 6.0 for that matter). Then I found a step-by-step instruction at http://wiki.apache.org/solr/SolrTomcat and followed it as much as possible (wget URL didn't work, so I had to download using browser). Then Solr worked. An important factor in the

RE: cwd requirement to run Solr with Tomcat

2007-05-08 Thread Teruhiko Kurosaka
Thank you, Hoss, for replying m question. : An important factor in the instruction is that Tomcat must : be started from the directory under which the solr directory : (copied from the exmaple) exists that's not true. if you use JNDI or system properties to configure the solr home,

RE: cwd requirement to run Solr with Tomcat

2007-05-08 Thread Chris Hostetter
: Tomcat seems to have changed the way to configure things, starting : with 5.5. If I follow the instruction given in the Configuraing Solr : Home : with JNDI section in : http://wiki.apache.org/solr/SolrTomcat : : Tomat ignores it with this warning message in the log: : WARNING: A docBase

RE: sorting problem

2007-05-08 Thread Gal Nitzan
Thank you, Hoss... -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 8:41 PM To: solr-user@lucene.apache.org; [EMAIL PROTECTED] Subject: Re: sorting problem : My query tries to search all entries which their ctype is video sorted by

Re: something i think about facet

2007-05-08 Thread James liu
aha,,win fix it。 Do u remember when i first use analyzer to support Chinese? They have same question, so fix it is just to encode it 'UTF-8'. In win, use save as and choose encode type to 'utf-8' restart tomcat,,,and u will find it is ok. my solrconfig.xml like this lst name=invariants

Re: question about FederatedSearch on wiki

2007-05-08 Thread Koji Sekiguchi
Chris, Thank you for your answer. With your answer, I'll reread yonik's article and try to understand his idea. Why I'm interested in it because I have a customer and they will use Solr to serve a good many documents. We expect we need to implement federated search function in a year as the

Re: cwd requirement to run Solr with Tomcat

2007-05-08 Thread James liu
i use freebsd(csh),,and use cmd like /tmp/*tomcat*/bin/startup.sh if u use ./apache-tomcat-5.5.20/bin/startup.sh u maybe chmod +x ./*tomcat*/bin/startup.sh or sh ./*tomcat*/bin/startup.sh i have 15 instances in one box(use tomcat) 2007/5/9, Teruhiko Kurosaka [EMAIL

Returning all rows from a query

2007-05-08 Thread Thiago Jackiw
Is there a way to retrieve all rows found without having to specify a value for it (?q=salesrows=HUGE_NUMBER)? For instance, what I'd like to do would be something like rows=* or rows=all and that would return all the records found, without any limits. Thanks.

Re: Returning all rows from a query

2007-05-08 Thread Chris Hostetter
: Is there a way to retrieve all rows found without having to specify a : value for it (?q=salesrows=HUGE_NUMBER)? For instance, what I'd like to : do would be something like rows=* or rows=all and that would return : all the records found, without any limits. there's really no good reason to do