Index version & generation for Solr 3.5

2012-08-22 Thread Xin Li
Hi, I ran into an issue lately with Index version & generation for Solr 3.5. In Solr 1.4., the index version of slave service increments upon each replication. However, I noticed it's not the case for Solr 3.5; the index version would increase 20, or 30 after replication. Does anyone know why and

size of data replicated

2011-11-07 Thread Xin Li
Hi, there, I am trying to look into the performance impact of data replication on query response time. To get a clear picture, I would like to know how to get the size of data being replicated for each commit. Through the admin UI, you may read a x of y G data is being replicated; however, "y" is

Re: Strange replication problem

2010-12-13 Thread Xin Li
did you double check http://machine:port/solr/website/admin/replication/ to see the "master" is indeed a master? On Mon, Dec 13, 2010 at 1:01 PM, Ralf Mattes wrote: > On Mon, 13 Dec 2010 12:31:27 -0500, Xin Li wrote: > >> " indexversion returned by the indexversion

Re: Strange replication problem

2010-12-13 Thread Xin Li
" indexversion returned by the indexversion command is 0 while the same information from the details command is 292192351652 ..." This only happens to a Slave machine. For a Master machine, indexversion returns the same number as details command. On Mon, Dec 13, 2010 at 11:06 AM, Ralf Mattes

Re: Index version on slave nodes

2010-12-07 Thread Xin Li
mbers although the replication handler's > source code seems to agree with you judging from the comments. > > On Monday 06 December 2010 17:49:16 Xin Li wrote: >> I think this is expected behavior. You have to issue the "details" >> command to get the real indexver

Re: Index version on slave nodes

2010-12-06 Thread Xin Li
I think this is expected behavior. You have to issue the "details" command to get the real indexversion for slave machines. Thanks, Xin On Mon, Dec 6, 2010 at 11:26 AM, Markus Jelsma wrote: > Hi, > > The indexversion command in the replicationHandler on slave nodes returns 0 > for indexversion a

RE: disabled replication setting

2010-12-02 Thread Xin Li
Does anything know? Thanks, -Original Message- From: Xin Li [mailto:xin.li@gmail.com] Sent: Thursday, December 02, 2010 12:25 PM To: solr-user@lucene.apache.org Subject: disabled replication setting For solr replication, we can send command to disable replication. Does anyone know

disabled replication setting

2010-12-02 Thread Xin Li
For solr replication, we can send command to disable replication. Does anyone know where i can verify the replication enabled/disabled setting? i cannot seem to find it on dashboard or details command output. Thanks, Xin

Re: Design and Usage Questions

2010-11-01 Thread Xin Li
If you just want a quick way to query Solr server, Perl module Webservice::Solr is pretty good. On Mon, Nov 1, 2010 at 4:56 PM, Lance Norskog wrote: > Yes, you can write your own app to read the file with SVNkit and post > it to the ExtractingRequestHandler. This would be easiest. > > On Mon, N

RE: command line to check if Solr is up running

2010-10-25 Thread Xin Li
Thanks Bob and Ahmet, "curl http://localhost:8080/solr1/admin/ping"; works fine :) Xin -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, October 25, 2010 4:03 PM To: solr-user@lucene.apache.org Subject: Re: command line to check if Solr is up running > M

command line to check if Solr is up running

2010-10-25 Thread Xin Li
As we know we can use browser to check if Solr is running by going to http://$hostName:$portNumber/$masterName/admin, say http://localhost:8080/solr1/admin. My questions is: are there any ways to check it using command line? I used "curl http://localhost:8080"; to check my Tomcat, it worked fin

RE: Spell checking question from a Solr novice

2010-10-18 Thread Xin Li
Oops, never mind. Just read Google API policy. 1000 queries per day limit & for non-commercial use only. -Original Message- From: Xin Li Sent: Monday, October 18, 2010 3:43 PM To: solr-user@lucene.apache.org Subject: Spell checking question from a Solr novice Hi, I am looking

Spell checking question from a Solr novice

2010-10-18 Thread Xin Li
Hi, I am looking for a quick solution to improve a search engine's spell checking performance. I was wondering if anyone tried to integrate Google SpellCheck API with Solr search engine (if possible). Google spellcheck came to my mind because of two reasons. First, it is costly to clean up the

RE: solrj

2010-10-04 Thread Xin Li
System.out.println(e); System.exit(1); } SolrDocumentList docs = rsp.getResults(); for (SolrDocument doc : docs) { System.out.println(doc.toString()); } } } On Oct 4, 2010, at 11:26 AM, Xin

RE: solrj

2010-10-04 Thread Xin Li
I asked the exact question the day before. If you or anyone else has pointer to the solution, please share on the mail list. For now, I am using Perl script instead to query Solr server. Thanks, Xin -Original Message- From: ankita shinde [mailto:ankitashinde...@gmail.com] Sent: Saturday,

RE: any working SolrJ code example for Solr 1.4.1

2010-10-01 Thread Xin Li
1.4.1 Xin, I also had a similar error when I picked up SolrJ. See the first section of this wiki page for the extra jars (the ones not found in the dist directory): http://wiki.apache.org/solr/Solrj -Jon -Original Message- From: Xin Li [mailto:x...@book.com] Sent: Friday, October 01

RE: any working SolrJ code example for Solr 1.4.1

2010-10-01 Thread Xin Li
folder i guess? On Oct 1, 2010, at 10:50 AM, Xin Li wrote: > Hi, there, > > Just picked up SolrJ few days ago. I have my Solr Server set up, data > loaded, and everything worked fine with the web admin page. Then problem > came when I was trying to use SolrJ to interact with the S

any working SolrJ code example for Solr 1.4.1

2010-10-01 Thread Xin Li
Hi, there, Just picked up SolrJ few days ago. I have my Solr Server set up, data loaded, and everything worked fine with the web admin page. Then problem came when I was trying to use SolrJ to interact with the Solr server. I was stuck with "NoClassNotFoundException" yesterday. Being new to the d