Re: Question about lat/long data type in localsolr

2009-11-22 Thread Bertie Shen
gt; > To use the above, make sure you have the tdouble types declared with > > precisionStep="8" omitNorms="true" positionIncrementGap="0"/> > > in your section. > > HTH > > Ian. > > > 2009/11/21 Bertie Shen : > > Hey

Question about lat/long data type in localsolr

2009-11-21 Thread Bertie Shen
Hey everyone, I used localsolr and locallucene to do local search. But I could not make longitude and latitude successfully indexed. During DataImport process, there is an exception. Do you have some ideas about it? I copy solrconfig.xml and schema.xml from your http://www.gissearch.com/local

Re: Question about the message "Indexing failed. Rolled back all changes."

2009-11-21 Thread Bertie Shen
Hey, I figured out why we always we have see Indexing failed. Rolled back all changes.. It is because we need a dataimport.properties file at conf/, into which indexing will write a last indexing time. Without that file, SolrWriter.java will put throw an exception and Solr will have this mislea

Re: Some guide about setting up local/geo search at solr

2009-11-16 Thread Bertie Shen
xt.com/about/jobs.html?mls > Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR > > > > - Original Message > > From: Bertie Shen > > To: solr-user@lucene.apache.org > > Sent: Sat, November 14, 2009 3:32:01 AM > > Subject: Some guide about s

Is there a way to skip cache for a query

2009-11-14 Thread Bertie Shen
Hey, I do not want to disable cache completely by changing the setting in solrconfig.xml. I just want to sometimes skip cache for a query for testing purpose. So is there a parameter like skipcache=true to specify in select/?q=hot&version=2.2&start=0&rows=10&skipcache=true to skip cache for the

Some guide about setting up local/geo search at solr

2009-11-14 Thread Bertie Shen
Hey, I spent some times figuring out how to set up local/geo/spatial search at solr. I hope the following description can help given the current status. 1) Download localsolr. I download it from http://developer.k-int.com/m2snapshots/localsolr/localsolr/1.5/ and put jar file (in my case, locals

Re: The status of Local/Geo/Spatial/Distance Solr

2009-11-13 Thread Bertie Shen
wstx-asl-3.2.7.jar > commons-httpclient-3.1.jargt2-referencing-2.3.1.jar > lucene-highlighter-2.9.1-ki-rc3.jar > lucene-spellchecker-2.9.1-ki-rc3.jar solr-core-1.4.0-ki-rc1.jar > xalan-2.7.1.jar > commons-io-1.3.2.jar jsr108-0.01.jar > lucene-memory-2.9.1-ki-rc3.jar &

The status of Local/Geo/Spatial/Distance Solr

2009-11-13 Thread Bertie Shen
Hey, I am interested in using LocalSolr to go Local/Geo/Spatial/Distance search. But the wiki of LocalSolr(http://wiki.apache.org/solr/LocalSolr) points to pretty old documentation. Is there a better document I refer to for the setting up of LocalSolr and some performance analysis? Just syn

Re: Question about the message "Indexing failed. Rolled back all changes."

2009-11-10 Thread Bertie Shen
e. On Mon, Nov 9, 2009 at 7:39 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Sat, Nov 7, 2009 at 1:10 PM, Bertie Shen wrote: > > > > > When I use > > http://localhost:8180/solr/admin/dataimport.jsp?handler=/dataimport to > > debug > >

Re: A question about how to make schema.xml change take effect

2009-11-09 Thread Bertie Shen
in schema.xml file you need restart the > tomcat server. > > On Tue, Nov 10, 2009 at 11:59 AM, Bertie Shen > wrote: > > Hey folks, > > > > When I update schema.xml, I found most of time I do not need to restart > > tomcat in order to make change take effect. But so

A question about how to make schema.xml change take effect

2009-11-09 Thread Bertie Shen
Hey folks, When I update schema.xml, I found most of time I do not need to restart tomcat in order to make change take effect. But sometimes, I have to restart tomcat server to make change take effect. For example, when I change a field data type from sint to tlong, I called http://host:port

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-09 Thread Bertie Shen
ex. > > Your indexing will probably be faster if you a join in SQL to supply > your entire set of fields per database request. > > 2009/11/7 Noble Paul നോബിള്‍ नोब्ळ् : > > On Sun, Nov 8, 2009 at 8:25 AM, Bertie Shen > wrote: > >> I have figured out a way to solve t

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-07 Thread Bertie Shen
document in Lucene index while top-level entity is. I feel tag is redundant and misleading in data config and thus should be removed. Cheers. On Sat, Nov 7, 2009 at 9:43 AM, Bertie Shen wrote: > I have the same problem. I had thought we could specify multiple > blah blah blahs, each of wh

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-07 Thread Bertie Shen
I have the same problem. I had thought we could specify multiple blah blah blahs, each of which is mapping one table in the RDBMS. But I found it was not the case. It only picks the first blah blah blah to do indexing. I think Rupert's and my request are pretty common. Basically there are multip

Luke web interface

2009-11-06 Thread Bertie Shen
Hi folks, Does Lucene Luke have a web interface, something like Solr Admin? I do not have X Windows installed on my server. But I like to use Luke to take a look at my index. Thanks.

Question about the message "Indexing failed. Rolled back all changes."

2009-11-06 Thread Bertie Shen
Hi, When I use http://localhost:8180/solr/admin/dataimport.jsp?handler=/dataimport to debug the indexing config file, I always see the status message on the right part Indexing failed. Rolled back all changes., even the indexing process looks to be successful. I am not sure whether you guys have

Re: Question about DIH execution order

2009-11-02 Thread Bertie Shen
) There is no TmpCourseId field column. 2) Can we put two name CourseId and id in the same map? It seems not. 2009/11/1 Noble Paul നോബിള്‍ नोब्ळ् > On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen > wrote: > > Hi folks, > > > > I have the following data-config.xml. I

Question about DIH execution order

2009-11-01 Thread Bertie Shen
Hi folks, I have the following data-config.xml. Is there a way to let transformation take place after executing SQL "select comment from Rating where Rating.CourseId = ${Course.CourseId}"? In MySQL database, column CourseId in table Course is integer 1, 2, etc; template transformation will make