Re: deploy a brand new index in solrcloud

2012-06-09 Thread Anatoli Matuskova
I've thought in setting replication in solrCloud: http://www.searchworkings.org/forum/-/message_boards/view_message/339527#_19_message_339527 What I don't know is if while replication is being handled, the replica slaves (that are not the master in replication) can keep handling puts via transactio

Re: deploy a brand new index in solrcloud

2012-06-09 Thread Jack Krupansky
How about maintaining two distinct SolrClouds with a switch in the load balancer? Reindex the second cloud, test it, fully warm it, test it again, and then have the load balancer switch all new queries to the second cloud. Then take down the original cloud once all queries have completed. Rins

Re: Writing custom data import handler for Solr.

2012-06-09 Thread Lance Norskog
Nope, the code is all you get. On Sat, Jun 9, 2012 at 12:16 AM, ram anam wrote: > > Thanks for the guidance. But is there any documentation that describes the > steps to implement custom data source and integrate it with SOLR. The data > source I am trying to integrate is like Amazon S3 Buckets

Re: Adding Custom-Parser to Tika

2012-06-09 Thread Lance Norskog
How do you add it to the classpath? And, is there an example somewhere of how to package one of these external parsers? If all else fails, the Tika code for loading external parsers is available for viewing. On Sat, Jun 9, 2012 at 3:00 AM, wrote: >> The doc is old. Tika hunts for parsers in the

Re: timeAllowed flag in the response

2012-06-09 Thread Lance Norskog
Please file a JIRA. And a patch if you are so inclined. On Fri, Jun 8, 2012 at 4:55 AM, Michael Kuhlmann wrote: > Am 08.06.2012 11:55, schrieb Laurent Vaills: > >> Hi Michael, >> >> Thanks for the details that helped me to take a deeper look in the source >> code. I noticed that each time a TimeE

Re: terms count in multivalues field

2012-06-09 Thread preetesh dubey
Thanks Jack! Creating another field to store the count is one option. I just wanted to know if this was possible without adding new field to schema. And I got the answer, it's not possible atleast in solr 3.x versions. Thanks once again for your reply and infromation about " Toolkit of UpdateProces

Re: terms count in multivalues field

2012-06-09 Thread Jack Krupansky
I am not aware of any function query to get the value count for a multivalued field. You could write a custom update processor which counted the values and then stored the count in another field. Then you could do a numeric range query on that other field. Or maybe even store a boolean in anot

Re: What would cause: "SEVERE: java.lang.ClassCastException: com.company.MyCustomTokenizerFactory cannot be cast to org.apache.solr.analysis.TokenizerFactory"

2012-06-09 Thread Jack Krupansky
Make sure there are no stray jars/classes in your jar, especially any that might contain BaseTokenizerFactory or TokenizerFactory. I notice that your jar name says "-with-dependencies", raising a little suspicion. The exception is as if your class was referring to a BaseTokenizerFactory, which

RE: Adding Custom-Parser to Tika

2012-06-09 Thread spring
> The doc is old. Tika hunts for parsers in the classpath now. > > http://www.lucidimagination.com/search/link?url=https://issues > .apache.org/jira/browse/SOLR-2116?focusedCommentId=12977072#ac > tion_12977072 "Re: tika-config.xml vs. META-INF/services/...; The service provider mechanism [1] mak

RE: Writing custom data import handler for Solr.

2012-06-09 Thread ram anam
Thanks for the guidance. But is there any documentation that describes the steps to implement custom data source and integrate it with SOLR. The data source I am trying to integrate is like Amazon S3 Buckets. But provider is different. Thanks and regards,Ram Anam. > Date: Fri, 8 Jun 2012 20:4