Re: Question about lat/long data type in localsolr

2009-11-22 Thread Bertie Shen
positionIncrementGap=0/ in your types section. HTH Ian. 2009/11/21 Bertie Shen bertie.s...@gmail.com: 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

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 str name=Indexing failed. Rolled back all changes./str. 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

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

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

2009-11-16 Thread Bertie Shen
, Hadoop, HBase, UIMA, NLP, NER, IR - Original Message From: Bertie Shen bertie.s...@gmail.com To: solr-user@lucene.apache.org Sent: Sat, November 14, 2009 3:32:01 AM Subject: Some guide about setting up local/geo search at solr Hey, I spent some times figuring out how to set

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,

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=hotversion=2.2start=0rows=10skipcache=true to skip cache for the

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

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

2009-11-13 Thread Bertie Shen
the info at you... hope it helps tho Ian. 2009/11/13 Bertie Shen bertie.s...@gmail.com: 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

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

2009-11-10 Thread Bertie Shen
, 2009 at 1:10 PM, Bertie Shen bertie.s...@gmail.com wrote: 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 str name=Indexing failed. Rolled back all changes./str, even

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-09 Thread Bertie Shen
. 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 നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: On Sun, Nov 8, 2009 at 8:25 AM, Bertie Shen bertie.s...@gmail.com wrote: I have figured out a way to solve

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

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

2009-11-09 Thread Bertie Shen
change in schema.xml file you need restart the tomcat server. On Tue, Nov 10, 2009 at 11:59 AM, Bertie Shen bertie.s...@gmail.com 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 sometimes, I have

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 document blah blah blah/documents, each of which is mapping one table in the RDBMS. But I found it was not the case. It only picks the first documentblah blah blah/document to do indexing. I think Rupert's and my request are pretty

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-07 Thread Bertie Shen
in DIH is *NOT* mapped to a document in Lucene index while top-level entity is. I feel document 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 bertie.s...@gmail.com wrote: I have the same problem. I had thought we

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 str name=Indexing failed. Rolled back all changes./str, even the indexing process looks to be successful. I am not sure whether

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.

Re: Question about DIH execution order

2009-11-02 Thread Bertie Shen
/document But 1) 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 നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen bertie.s...@gmail.com wrote: Hi folks, I have

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