Re: custom tokenizer error

2013-05-06 Thread Sarita Nair
tokenizer. Is there any reason that you didn't just use char filters to replace colon and periods with spaces? -- Jack Krupansky -Original Message- From: Sarita Nair Sent: Friday, May 03, 2013 2:43 PM To: solr-user@lucene.apache.org Subject: custom tokenizer error I am using a custo

custom tokenizer error

2013-05-03 Thread Sarita Nair
I am using a custom Tokenizer, as part of analysis chain, for a Solr (4.2.1) field. On trying to index, Solr throws a NullPointerException.  The unit tests for the custom tokenizer work fine. Any ideas as to what is it that I am missing/doing incorrectly will be appreciated. Here is the relevant

Re: Solr 4.2.1 SSLInitializationException

2013-04-29 Thread Sarita Nair
ks for the clarification. I am using DefaultHttpClient on the client side, but was hoping that there is a way around SystemDefaultHttpClient, in Solr. Looks like there is isn't any. Thanks for your help!  From: Chris Hostetter To: "solr-user@lucene.

IOexception, when using Solr 4.2.1 for indexing

2013-04-26 Thread Sarita Nair
Hi All, I get the error below on trying to index using Solr 4.2.1.  I have a single core setup and use HttpSolrServer with DefaultHttpClient to talk to Solr. #Here is how HttpSolrServer is instantiated: solrServer = new HttpSolrServer( baseURL,         configurator.createHttpClient( new BasicHttp

Re: Solr 4.2.1 SSLInitializationException

2013-04-10 Thread Sarita Nair
) ? From: Uwe Klosa To: solr-user@lucene.apache.org; Sarita Nair Sent: Wednesday, April 10, 2013 2:58 AM Subject: Re: Solr 4.2.1 SSLInitializationException You have to add two new Java options to your Glassfish config (example if you use the standard keystore and truststore

Re: Solr 4.2.1 SSLInitializationException

2013-04-09 Thread Sarita Nair
.. 50 more Caused by: java.security.UnrecoverableKeyException: Password verification failed     at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)     ... 54 more   From: Chris Hostetter To: "solr-user@lucene.apache.org" ;

Solr 4.2.1 SSLInitializationException

2013-04-09 Thread Sarita Nair
Hi All, Deploying Solr 4.2.1 to GlassFish 3.1.1 results in the error below.  I have seen similar problems being reported with Solr 4.2 and my take-away was that 4.2.1 contains the necessary fix. Any help with this will be appreciated. Thanks!     2013-04-09 10:45:06,144 [main] ERROR org.apa

Re: Retrieving Term vectors

2013-03-20 Thread Sarita Nair
Thanks much, Koji. That was indeed the problem.  I did not realize that one has to do all three of these fieldType.setStoreTermVectors(true); fieldType.setStoreTermVectorPositions(true); fieldType.setStoreTermVectorOffsets(true); in order to store positions and offsets. -Sarita

Retrieving Term vectors

2013-03-19 Thread Sarita Nair
Hi All, I am in the process upgrading from Solr 3.6.2 to Solr 4.1 and have been running into  problems with retrieving Term vector information. Below is the test and source code.  The tests fails with a NullPointerException, because DocsAndPositionsEnum is always null, despite the fact that I