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=sales&rows=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 t

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=sales&rows=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: 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 PROTE

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: 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 > forumname

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 sorte

RE: cwd requirement to run Solr with Tomcat

2007-05-08 Thread Teruhiko Kurosaka
> did you try searching for that error message? the first > result google gave > me points to this mailing list thread... > > http://mail-archives.apache.org/mod_mbox/tomcat-dev/200512.mbo > x/[EMAIL PROTECTED] > Yes, I found this email archive thread in another mail archive site. I tried nuki

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: 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 h

Re: cwd requirement to run Solr with Tomcat

2007-05-08 Thread Chris Hostetter
: 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 is, Solr runs only : if Tomcat is invoked as: : $ ./apache-tomcat-5.5.20/bin/startup.sh : It doesn't if Tomcat is invoked like this: :

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 instructio

Re: sorting problem

2007-05-08 Thread Chris Hostetter
: My query tries to search all entries which their ctype is video sorted by : tstamp descending and then sorted by popularity: : However the results returned are sorted only by the tstamp. Solr stores datefields with millisecond precision, so if you index a date field without rounding, then all

Re: UTF-8 problem with Resin

2007-05-08 Thread Koji Sekiguchi
The problem was gone. Thank you very much for the handling. Koji Ryan McKinley wrote: sorry. I tested with something that did not duplicate the problem. update and try rev 536048. Koji Sekiguchi wrote: Ryan, Thank you for committing SOLR-214, but we are still facing the garbled character

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 desc&fl=tstamp,popularity However t