Re: 【solr DIH】A problem about solr delta-imports

2009-08-19 Thread huenzhao
Aug 20, 2009 at 9:42 AM, huenzhao wrote: >> >> Hi all, >> >> There is a problem when I use solr delta-imports to update the index. I >> have >> added the "last_modified" column in the table. After I use the >> "full-import" >>

【solr DIH】A problem about solr delta-imports

2009-08-19 Thread huenzhao
Hi all, There is a problem when I use solr delta-imports to update the index. I have added the "last_modified" column in the table. After I use the "full-import" command to index the database data, the "dataimport.properties" file contains nothing, and when I use the "delta-import" command to upd

Re: How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
lues that include whitespace: > > export JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.home=/home/huenzhao/search/solr" > > or to make it accessible for other paths as well: > export SOLR_HOME=/home/huenzhao/search/solr > export JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.hom

How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
Hi all, I know how to configure solr.home by using tomcat6, but I don't know how to set solr.home by using Glassfish(V2.1). I have tried to set the solr.home in .profile as fellows: export solr.home=/home/huenzhao/search/solr export solr/home=/home/huenzhao/search/solr export solr.solr

HTTP Status 500 - java.lang.RuntimeException: Can't find resource 'solrconfig.xml'

2009-07-28 Thread huenzhao
Hi all, I used ubuntu 8.10 as the solr server OS, and set the solr.solr.home=home/huenzhao/search/tomcat6/bin/solr. When I run the tomcat(The tomcat and the solr that I used running on windows XP has no problem), there has error as : HTTP Status 500 - Severe errors in solr configuration. Check

Re: How to configure Solr in Glassfish ?

2009-07-20 Thread huenzhao
. There really > shouldn't be much more to it than that, but you should try and see what > you > run into. > I havn't tried out glassfish in a couple years now. > > -- > - Mark > > http://www.lucidimagination.com > > On Mon, Jul 20, 2009 at 8:27 AM, hue

How to configure Solr in Glassfish ?

2009-07-20 Thread huenzhao
I want use glassfish as the solr search server, but I don't know how to configure. Anybody knows? enzhao...@gmail.com Thanks! -- View this message in context: http://www.nabble.com/How-to-configure-Solr--in-Glassfish---tp24565758p24565758.html Sent from the Solr - User mailing list archive a

A question about SolrJ range query?

2009-07-11 Thread huenzhao
We can use solr range query like: http://localhost:8983/solr/select?q=queryStr&fq=x:[10 TO 100] AND y:[20 TO 300] or : http://localhost:8983/solr/select?q=queryStr&fq=x:[10 TO 100]&fq=y:[20 TO 300] My Question: How to make this range query by using solrJ ? Anybody knows? enzhao...@gmail.com tha

A big question about Solr and SolrJ range query ?

2009-07-07 Thread huenzhao
Hi all: Suppose that my index have 3 fields: title, x and y. I know one range(10 < x < 100) can query liks this: http://localhost:8983/solr/select?q=x:[10 TO 100]&fl=title If I want to two range(10 < x <100 AND 20 < y < 300) query like SQL(select title where x>10 and x < 100 and y > 20 and