spellcheck in dismax

2011-11-22 Thread Ruixiang Zhang
I put the following into dismax requestHandler, but no suggestion field is returned. true false 1 spellcheck But everything works if I put it as a separate requestHandler. Did I miss something? Thanks Richard

Re: Solr 3.2.0 is not writing log

2011-08-01 Thread Ruixiang Zhang
It works perfectly! Thank you so much!!! Ruixiang On Sun, Jul 31, 2011 at 7:56 PM, tmahesh wrote: > In etc/jetty.xml, at line 204, you should remove the comment (delete line > 204 > and line 218) > >204 > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-3-2-0

Solr 3.2.0 is not writing log

2011-07-29 Thread Ruixiang Zhang
I'm using Solr 1.4 with jetty for my site, it writes log into files in example/logs. Now I'm testing Solr 3.2.0 with jetty on another server, but no log is written into this folder: example/logs. It is always empty. Do I need to do something to turn on the log? Any hint will be appreciated. Rui

Index rows with NULL value

2011-07-15 Thread Ruixiang Zhang
Hi It seems that solr does not index a row when some column of this row has NULL value. How can I make solr index these rows? Thanks Ruixiang

Where to find the Log file

2011-06-09 Thread Ruixiang Zhang
Where can I find the log file of solr? Is it turned on by default? (I use Jetty) Thanks Ruixiang

Re: How to upgrade to Solr4.0 to use Result Grouping?

2011-03-21 Thread Ruixiang Zhang
Thanks Richard On Mon, Mar 21, 2011 at 12:30 PM, Ruixiang Zhang wrote: > Thanks. Then where is the link to download the latest 4.0? > > Richard > > > On Mon, Mar 21, 2011 at 11:57 AM, Yonik Seeley > wrote: > >> On Mon, Mar 21, 2011 at 10:20 AM, Erick Erickson >>

Re: How to upgrade to Solr4.0 to use Result Grouping?

2011-03-21 Thread Ruixiang Zhang
Thanks. Then where is the link to download the latest 4.0? Richard On Mon, Mar 21, 2011 at 11:57 AM, Yonik Seeley wrote: > On Mon, Mar 21, 2011 at 10:20 AM, Erick Erickson > wrote: > > Get the release and re-index? You can get a trunk > > version either through SVN or from the nightly build > >

Re: How to upgrade to Solr4.0 to use Result Grouping?

2011-03-21 Thread Ruixiang Zhang
ightly build > at https://builds.apache.org/hudson/view/S-Z/view/Solr/ > > Note that 3.1 also has result grouping, and is currently > being released, so you might want to consider that > version. > > Best > Erick > > On Sun, Mar 20, 2011 at 9:28 PM, Ruixiang Zhang wrote: &

How to upgrade to Solr4.0 to use Result Grouping?

2011-03-20 Thread Ruixiang Zhang
I want to use the Result Grouping feature that's only available for Solr4.0. Currently, I have Solr1.4.1 installed. I want to know how to upgrade it to Solr4.0 so that I can use Result Grouping? Thanks a lot!!! Richard

Problem of results ordering

2010-12-23 Thread Ruixiang Zhang
When I search "guitar center 94305", it gives the results: guitar center guitar center Hollywood guitar center 94305 guitar center 94305 location But I want results to be like this: guitar center 94305 guitar center 94305 location guitar center guitar center Hollywood How can I make the results

Re: Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
23 14:10), Ruixiang Zhang wrote: > >> Thanks Koji. Actually my question is: >> >> We can use response.response.docs[i].description >> to print the description in docs. >> >> What expression should we use to print the description in highlighting? >> >

Re: Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
Thanks Koji. Actually my question is: We can use response.response.docs[i].description to print the description in docs. What expression should we use to print the description in highlighting?

Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
I want to print the highlighting descriptions: {"responseHeader":{"status":0, "QTime":2,"params":{"hl.fl":"description","json.wrf":"jsonp1293069622009","wt":"json","q":"target","hl":"true"}},"response":{"numFound":7945,"start":0,"maxScore":6.9186745,"docs":[{"description":"target","url":"target","

Re: Crontab for delta-import

2010-12-22 Thread Ruixiang Zhang
ilable on your server, e.g. command > wget --quiet ' > http://181.163.64.228:8983/solr/db/dataimport?command=delta-import' > > Cheers, > Stefan > > Am 22.12.2010 12:31, schrieb Ruixiang Zhang: > > I want to run delta-import in Crontab but don't know how. >

Crontab for delta-import

2010-12-22 Thread Ruixiang Zhang
I want to run delta-import in Crontab but don't know how. I used php file in Crontab before, like: command: php /home/user/public_html/auto.php I tried: command: /home/user/public_html/solr/apache-solr-1.4.1/example/example-DIH/solr/db/dataimport?command=delta-import It didn't work. The url I

Re: Dataimport: Could not load driver: com.mysql.jdbc.Driver

2010-12-05 Thread Ruixiang Zhang
!! Richard On Sun, Dec 5, 2010 at 3:02 AM, Ruixiang Zhang wrote: > And here are the logs: > > > Dec 5, 2010 2:00:23 AM org.apache.solr.handler.dataimport.DataImportHandler > processConfiguration > INFO: Processing configuration from solrconfig.xml: > {config=db-data-confi

Re: Dataimport: Could not load driver: com.mysql.jdbc.Driver

2010-12-05 Thread Ruixiang Zhang
2:00:23 AM org.apache.solr.update.DirectUpdateHandler2 rollback INFO: start rollback Dec 5, 2010 2:00:23 AM org.apache.solr.update.DirectUpdateHandler2 rollback INFO: end_rollback Thanks Richard On Sun, Dec 5, 2010 at 2:56 AM, Ruixiang Zhang wrote: > Thanks Koji. > > I just tried to change the permi

Re: Dataimport: Could not load driver: com.mysql.jdbc.Driver

2010-12-05 Thread Ruixiang Zhang
t this one. Thanks Richard On Sun, Dec 5, 2010 at 2:46 AM, Koji Sekiguchi wrote: > (10/12/05 18:38), Ruixiang Zhang wrote: > >> *I got the following error for dataimport:* >> >> >> *Full Import failed >> org.apache.solr.handler.dataimport.DataIm

Dataimport: Could not load driver: com.mysql.jdbc.Driver

2010-12-05 Thread Ruixiang Zhang
*I got the following error for dataimport:* *Full Import failed org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mysql.jdbc.Driver* I have the following files: \example-DIH\solr\db\conf\ solrconfig.xml, schema.xml, db-data-config.xml, dataimport.propert

Re: solr/admin/dataimport Not Found

2010-12-02 Thread Ruixiang Zhang
Thank you so much, Koji, the example-DIH works. I'm reading for details... Richard On Thu, Dec 2, 2010 at 4:39 PM, Koji Sekiguchi wrote: > (10/12/03 9:29), Ruixiang Zhang wrote: > >> Hi Koji >> >> Thanks for your reply. >> I pasted the wrong link.

Re: solr/admin/dataimport Not Found

2010-12-02 Thread Ruixiang Zhang
wrote: > (10/12/03 8:58), Ruixiang Zhang wrote: > >> I tried to import data from mysql. When I tried to run >> http://mydomain.com:8983/solr/admin/dataimport , I got these error >> message: >> >> HTTP ERROR: 404 >> >> NOT_FOUND >> >>

solr/admin/dataimport Not Found

2010-12-02 Thread Ruixiang Zhang
I tried to import data from mysql. When I tried to run http://mydomain.com:8983/solr/admin/dataimport , I got these error message: HTTP ERROR: 404 NOT_FOUND RequestURI=/solr/admin/dataimport *Powered by Jetty:// * Any help will be appreciated!!! Thanks Richard

Cannot start Solr anymore

2010-12-02 Thread Ruixiang Zhang
Hi, I'm new here. First, could anyone tell me how to restart solr? I started solr and killed the process. Then when I tried to start it again, it failed: $ java -jar start.jar 2010-12-02 14:28:00.011::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2010-12-02 14:28:00.099::INFO: jetty-6.