Re: Solr spring application context error

2009-07-05 Thread John Wang
Hi Chris: The problem is that (at least for me, not a expert spring'er) The beans are being loaded (and when the class loading issue occurs) at construction time of FileSystemXmlApplicationContex, the setClassLoader method by the time can be called is too late. -John On Thu, Jul 2, 2009 at

RE: Is there any other way to load the index beside using "http" connection?

2009-07-05 Thread Francis Yakin
Thanks Marcus, I will give a try to a test machine first. Francis -Original Message- From: Marcus Herou [mailto:marcus.he...@tailsweep.com] Sent: Sunday, July 05, 2009 12:37 PM To: solr-user@lucene.apache.org Cc: Norberto Meijome Subject: Re: Is there any other way to load the index bes

Re: Problem in parsing non-string dynamic field by using IndexReader

2009-07-05 Thread Yuchen Wang
OK, here is my latest code to get the IndexReader from the solr core. However, it still printed out the non-string fields as special chars. I do use the schema file here. Please help. public static void main(String[] args) throws Exception { SolrConfig config = new SolrConfig("/Users/yu

Re: Problem in parsing non-string dynamic field by using IndexReader

2009-07-05 Thread Otis Gospodnetic
Yuchen, schema.xml is a Solr configuration file that you can find in a conf directory under Solr home. Please go through the Solr tutorial on the site first. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Yuchen Wang > To: solr-user@l

Re: Empty results after merging index via IndexMergeTool

2009-07-05 Thread Chris Hostetter
: java -cp : C:\jbdevstudio\jboss-eap\jboss-as\bin\Core\lib\lucene-core-2.9-dev.jar : C:\jbdevstudio\jboss-eap\jboss-as\bin\Core\lib\lucene-misc-2.4.1.jar : org.apache.lucene.misc.IndexMergeTool : C:\jbdevstudio\jboss-eap\jboss-as\bin\Core\core\data : C:\jbdevstudio\jboss-eap\jboss-as\bin\Core\cor

Re: Solr Logging in Weblogic

2009-07-05 Thread Chris Hostetter
: Has anyone been able to successfully configure logging from Solr in : Weblogic? I am trying to increase the verbosity of the logs as I am : seeing some strange behavior during indexing, but have not been able to i's been a *LONG* time since i've used weblogic, but according to these docs...

Re: Is there any other way to load the index beside using "http" connection?

2009-07-05 Thread Marcus Herou
Sharing some of our exports from DB to solr. Note: many of the statements below might not work due to clip-clip. $SOLR_HOME/conf/dataConfig.xml # Then add this to solrconf

RE: Is there any other way to load the index beside using "http" connection?

2009-07-05 Thread Francis Yakin
Norberto, Yes, DIH is one of the option we think to use, but it's required 1.3.0 and above and currently we are running Sol 1.2.0. I am thinking to use CSV file(Convert the XML to CSV format in Database machine( , then transport that CSV file to solr box. In Solr we run the update to convert t

Re: Problem in parsing non-string dynamic field by using IndexReader

2009-07-05 Thread Yuchen Wang
Thanks for the reply. However, in the code I posted, where should I load the schema.xml? I just created a Lucene IndexReader directly. On Sun, Jul 5, 2009 at 9:31 AM, Otis Gospodnetic wrote: > > Yuchen, > > Make sure the fields you are trying to read are stored (stored="true" in > schema.xml) >

Re: Problem in parsing non-string dynamic field by using IndexReader

2009-07-05 Thread Otis Gospodnetic
Yuchen, Make sure the fields you are trying to read are stored (stored="true" in schema.xml) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Yuchen Wang > To: solr-user@lucene.apache.org > Sent: Sunday, July 5, 2009 12:43:50 AM > Subjec

Re: Is there any other way to load the index beside using "http" connection?

2009-07-05 Thread Norberto Meijome
On Thu, 2 Jul 2009 11:02:28 -0700 Francis Yakin wrote: > Norberto, Thanks for your input. > > What do you mean with "Have you tried connecting to SOLR over HTTP from > localhost, therefore avoiding any firewall issues and network latency ? it > should work a LOT faster than from a remote site."

Re: Is there any other way to load the index beside using "http" connection?

2009-07-05 Thread Norberto Meijome
On Thu, 2 Jul 2009 11:28:51 -0700 Francis Yakin wrote: > Norberto, > Hi Francis, Please reply to the list, or keep it in CC. > You saying: > > "Other alternatives are to transform the XML into csv and import it that way" > > How do you transfer that CSV file to Solr? > http://wiki.apache

SynonymFilterFactory usage

2009-07-05 Thread Mani Kumar
hi all, i am confused a bit about how to use synonym filter configs. i am using solr 1.4. default config is like : for query analyzer: for index analyzer: its commented. while looking @ documentation deeply on http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c4