Challenge: Is dynamic data source possible for DataImportHandler JdbcDataSource?

2012-05-31 Thread Cheng Zhang
Hi, The challenge I'm facing is some sort of dynamic data source. Your valuable input is highly appreciated. Below is my data-config.xml. I have one user database and two company databases. The user table in the user database has four columns which are id + name + company_dbname + company_id.

Re: muticore setup with tomcat

2009-03-17 Thread Cheng Zhang
below is my setup, then under /home/zhangyongjiang/applications/solr, I have solr.xml as below, under /home/zhangyongjiang/applications/solr, I created core1/, core2/, core3/, core4 subdirectories. hope it helps. - Original Message From: Chris Hostette

Re: How can I configure different types in Solr?

2009-03-06 Thread Cheng Zhang
One solr instance has only one doc type. So you have many types, the first option is to use multiple solr server instance. The second option is to use multiple core. In this case, you have one solr sever instance but in the server instance you have more than one core. If you don't want to use m

use () in the query string

2009-03-04 Thread Cheng Zhang
Hello, In my case, my query of "id_s_i_s_nm:(om_B00114162K*)" returned nothing but query "id_s_i_s_nm:om_B00114162K*" returned the right result. What's the difference between using () or not. Thanks a lot, Kevin

Re: unique result

2009-02-26 Thread Cheng Zhang
exing time, then have a look at https://issues.apache.org/jira/browse/SOLR-799 Otherwise, you might look at https://issues.apache.org/jira/browse/SOLR-236 On Feb 25, 2009, at 6:54 PM, Cheng Zhang wrote: > Is it possible to have Solr to remove duplicated query results? > > For example

unique result

2009-02-25 Thread Cheng Zhang
Is it possible to have Solr to remove duplicated query results? For example, instead of return Wireless Wireless Wireless Video Games Video Games return: Wireless Video Games Thanks a lot, Kevin

Re: auto generated document id?

2009-02-22 Thread Cheng Zhang
e.org/solr/UniqueKey Cheers, Bruno 2009/2/22 Cheng Zhang > hello, > > in solr world, is it possible to have the doc id generated automatically? > > thx a lot, > > kevin > >

auto generated document id?

2009-02-22 Thread Cheng Zhang
hello, in solr world, is it possible to have the doc id generated automatically? thx a lot, kevin

Re: score filter

2009-02-11 Thread Cheng Zhang
ssues-in-Search/ On Feb 11, 2009, at 10:16, Cheng Zhang wrote: > Hi Grant, > > In my case, for example searching a book. Some of the returned documents are > with high relevance (score > 3), but some of document with low score (<0.01) > are useless. > > Without a

Re: score filter

2009-02-11 Thread Cheng Zhang
ts. -Grant On Feb 10, 2009, at 10:01 PM, Cheng Zhang wrote: > Hello, > > Is there a way to set a score filter? I tried "+score:[1.2 TO *]" but it did > not work. > > Many thanks, > Kevin > -- Grant Ingersoll http://www.lucidimagina

score filter

2009-02-10 Thread Cheng Zhang
Hello, Is there a way to set a score filter? I tried "+score:[1.2 TO *]" but it did not work. Many thanks, Kevin

Re: Decrease warmupTime

2009-02-07 Thread Cheng Zhang
Otis, I did restart the solr server but it may not be enough. I just deleted the tomcat work directory and it works now. No warming anymore. Thanks a lot for your information. -Kevin - Original Message From: Cheng Zhang To: solr-user@lucene.apache.org Sent: Friday, February 6

Re: Decrease warmupTime

2009-02-06 Thread Cheng Zhang
? Can you paste your query result cache config? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch From: Cheng Zhang To: solr-user@lucene.apache.org Sent: Friday, February 6, 2009 11:04:07 PM Subject: Re: Decrease warmupTime Hi Yonik, I just

Re: Decrease warmupTime

2009-02-06 Thread Cheng Zhang
, 2009 at 5:12 PM, Cheng Zhang wrote: > Is there any way to decrease this warmupTime? Go into solrconfig.xml and reduce (or eliminate) the autowarm counts for the caches. -Yonik

Decrease warmupTime

2009-02-06 Thread Cheng Zhang
First, I'm new Solr. I have setup a Solr server and added some documents into it. I noticed that as I added more and more docs, the warmupTime became longer and longer. After added 400K docs, I can see the warmupTime is now about 1 minutes. Here is one log entry: queryResultCache{lookups=0,hi

newbie question --- multiple schemas

2009-01-28 Thread Cheng Zhang
Hello, Is it possible to define more than one schema? I'm reading the example schema.xml. It seems that we can only define one schema? What about if I want to define one schema for document type A and another schema for document type B? Thanks a lot, Kevin