Programmatic create core

2012-05-07 Thread Trym R. Møller
Hi On Solr trunk I am trying to create a new core using the following code: CoreAdminRequest.Create req = new CoreAdminRequest.Create(); req.setCoreName(shardName); req.setInstanceDir(instanceDir); req.setDataDir(dataDir);

Re: Solritas in production

2012-05-07 Thread Jan Høydahl
Hi, Like wunder said, restricting URLs still requires physical access to the app-server, and there are a handful of ways to cause harm which you may not be aware of. The argument he would not need to develop a PHP site/application is not true. Solritas is far from ready for production, and not

Re: Solritas in production

2012-05-07 Thread Paul Libbrecht
I do not share this reasoning at all. Of course a new UI would need to be developed, solr/itas is just an example. But that precisely is the interest of solr/itas, a view system that is easy to tune. I do not feel, at all, that it means that it is not production ready. There are a zillion ways

Re: Solritas in production

2012-05-07 Thread Marcelo Carvalho Fernandes
Nothing against PHP. My suggestion is toward a simpler architecture and a fast go-live. I'm not suggesting Andreas to go-live with Solritas as it is. Of course there is some work to be done before doing it and I think this work would be faster and would take him to a simpler architecture than

Re: Invalid version (expected 2, but 60) on CentOS in production please Help!!!

2012-05-07 Thread Erick Erickson
Well, I'm guessing that the version of Solr (and perhaps there are classpath issues in here?) are different, somehow, on the machine slave that is showing the error. It's also possible that your config files have a different LUCENE_VERSION in them, although I don't think this should really

Re: Is it possible to limit the bandwidth of replication

2012-05-07 Thread Koji Sekiguchi
(12/05/07 15:38), James wrote: I notice the index replication utilize the full bandwidth. So the normal query stalled. Is there any method to control the bandwidth of replication? I don't know the status of Java based replication, but there is bwlimit option for your problem for script based

Re: Is it possible to limit the bandwidth of replication

2012-05-07 Thread Mark Miller
I think we have to add this for java based rep. Sent from my iPhone On May 7, 2012, at 2:38 AM, James ljatreey...@163.com wrote: I notice the index replication utilize the full bandwidth. So the normal query stalled. Is there any method to control the bandwidth of replication?

Re: Invalid version (expected 2, but 60) on CentOS in production please Help!!!

2012-05-07 Thread Mark Miller
Normally this specific error is caused by a non success http error page and response is returned. The response parser tries to parse HTML as javabin. Sent from my iPhone On May 7, 2012, at 7:37 AM, Erick Erickson erickerick...@gmail.com wrote: Well, I'm guessing that the version of Solr (and

Re: Lucene FieldCache - Out of memory exception

2012-05-07 Thread Rahul R
Jack, Sorry for the delayed response: Total memory allocated : 3GB Free Memory on startup of application server : 2.85GB (95%) Free Memory after first request by first user(1 request involves 3 queries) : 2.7GB (90%) Free Memory after a few requests by same user : 2.52GB (84%) All values recorded

Nested CachedSqlEntityProcessor running for each entity row with Solr 3.6?

2012-05-07 Thread not interesting
I just upgraded from Solr 3.4 to Solr 3.6; I'm using the same data-import.xml for both versions. The import functioned properly with 3.4. I'm using a nested entity to fetch authors associated with each document, and I'm using CachedSqlEntityProcessor to avoid hitting the DB an unreasonable number

Re: Nested CachedSqlEntityProcessor running for each entity row with Solr 3.6?

2012-05-07 Thread Mikhail Khludnev
Hi, it sounds like https://issues.apache.org/jira/browse/SOLR-3360 fix is committed, tests are on going. On Mon, May 7, 2012 at 6:42 PM, not interesting dye.kel...@gmail.comwrote: I just upgraded from Solr 3.4 to Solr 3.6; I'm using the same data-import.xml for both versions. The import

analyzers in schema

2012-05-07 Thread G.Long
Hi :) In the schema.xml file, If an analyzer is specified for a fieldtype but without the attribute type=index or type=query, does it mean the analyzer is used by default for both cases? Gary

Re: analyzers in schema

2012-05-07 Thread Sven Maurmann
Dear Gary, yes, you are right. Best, Sven Am 07.05.2012 um 17:08 schrieb G.Long: Hi :) In the schema.xml file, If an analyzer is specified for a fieldtype but without the attribute type=index or type=query, does it mean the analyzer is used by default for both cases? Gary

Re: Nested CachedSqlEntityProcessor running for each entity row with Solr 3.6?

2012-05-07 Thread not interesting
it sounds like https://issues.apache.org/jira/browse/SOLR-3360 fix is committed, tests are on going. Hmm, I'm running solr behind tomcat; where can I configure Solr to use only a single thread for testing? Kellen

Re: analyzers in schema

2012-05-07 Thread G.Long
Ok :) Thank you ^^ Regards, Gary Le 07/05/2012 17:13, Sven Maurmann a écrit : Dear Gary, yes, you are right. Best, Sven Am 07.05.2012 um 17:08 schrieb G.Long: Hi :) In the schema.xml file, If an analyzer is specified for a fieldtype but without the attribute type=index or

Re: Nested CachedSqlEntityProcessor running for each entity row with Solr 3.6?

2012-05-07 Thread Mikhail Khludnev
Your dataconfig.xml is already single threaded. Bug is in DIH 3.6.0 code. There should be a link to the fixed jar in the comments. On Mon, May 7, 2012 at 7:15 PM, not interesting dye.kel...@gmail.comwrote: it sounds like https://issues.apache.org/jira/browse/SOLR-3360 fix is committed,

Re: Programmatic create core

2012-05-07 Thread Mark Miller
Thanks - I'll fix that retry count issue right now. When you go to the admin UI and look at the zookeeper nodes, what is listed under config? I'll add the config names found to that error message. - Mark On Mon, May 7, 2012 at 2:12 AM, Trym R. Møller t...@sigmat.dk wrote: Hi On Solr trunk I

Problem maven(maven-jetty-plugin) and latest apache-solr-4.0-SNAPSHOT.war

2012-05-07 Thread SleepyCrom
Snapshot downloaded and build today(7 may). Im trying to run jetty with solr, command mvn jetty:run-war. (this have worked on older version of solr, but on trunk it wont work) My build part of pom: Error log: I have also tried for zookeeper option, but then the cores are loaded but have

solr admin form query (full interface) - unknown handler: select

2012-05-07 Thread Robert Petersen
Hi solr users and solr dev guys, I just wanted to point out that the admin form in solr 3.6 seems to have a bug in the 'full interface' link off 'Make a Query'... I couldn't find any mention of this on markmail under solr-user so I thought I'd bring it up. I just upgraded from solr 1.4 so I

Re: solr admin form query (full interface) - unknown handler: select

2012-05-07 Thread Jack Krupansky
I don't see that problem with a fresh, unmodified 3.6 using example. The qt parameter doesn't show up in the query URL unless I modify the Request Handler to something other than /select. Here's the query URL I get:

Re: Invalid version (expected 2, but 60) on CentOS in production please Help!!!

2012-05-07 Thread Ravi Solr
Hello Mr. Miller and Mr. Erickson, Found yet another inconsistency on the query server that might be causing this issue. Today morning also I got a similar error as shown in stacktrace below. So I tried querying for that d101dd3a-979a-11e1-927c-291130c98dff which is our unique key in

RE: Nested CachedSqlEntityProcessor running for each entity row with Solr 3.6?

2012-05-07 Thread Dyer, James
Dear Kellen, Brent Keith, There now are fixes available for 2 cache-related bugs that unfortunately made their way into the 3.6.0 release. These were addressed on these 2 JIRA issues, which have been committed to the 3.6 branch (as of today): - https://issues.apache.org/jira/browse/SOLR-3430

Re: Programmatic create core

2012-05-07 Thread Trym R. Møller
Thanks Mark you are my hero! I had missed the specification of the configuration of the collection and the only way to specify it was as follows: CoreAdminRequest.Create req = new CoreAdminRequest.Create() { @Override public SolrParams getParams() {

field type for Icelandic

2012-05-07 Thread Casey Callendrello
Hi there, Are there any best practices / recommendations for indexing and searching Icelandic text? It's not one of the languages provided as a field type in the example schema. I've been using text_general, but (as you all surely know) that is only a stopgap solution at best. I'm looking

PDF indexing

2012-05-07 Thread Tolga
Hi, From what I have read, I think I have to use Tika (?) to index PDF, xls, doc, etc files. How do I start? Do I use mvn clean install in the source directory to get all the jar files to begin? Centos doesn't provide mvn, how do I build Tika after getting it from http://maven.apache.org ?

Re: PDF indexing

2012-05-07 Thread Jack Krupansky
Try SolrCell (ExtractingRequestHandler). See: http://wiki.apache.org/solr/ExtractingRequestHandler -- Jack Krupansky -Original Message- From: Tolga Sent: Monday, May 07, 2012 3:24 PM To: solr-user@lucene.apache.org Subject: PDF indexing Hi, From what I have read, I think I have

Re: PDF indexing

2012-05-07 Thread Tolga
On 05/07/2012 10:35 PM, Jack Krupansky wrote: Try SolrCell (ExtractingRequestHandler). See: http://wiki.apache.org/solr/ExtractingRequestHandler -- Jack Krupansky -Original Message- From: Tolga Sent: Monday, May 07, 2012 3:24 PM To: solr-user@lucene.apache.org Subject: PDF indexing

How does start.jar get build in the Solr trunk repository?

2012-05-07 Thread Neil Hooey
I'm trying to figure out how the solr/example/start.jar file gets built in the Solr trunk repository, but I can't find anything about jetty being built in any of the Ant build XML files. I'm trying to duplicate the same behaviour in my Maven build of Solr with my custom plugin. Does anyone know

Re: How does start.jar get build in the Solr trunk repository?

2012-05-07 Thread Neil Hooey
I see that it's done in solr/example/build.xml with this XML: ivy:retrieve inline=true organisation=org.eclipse.jetty module=jetty-start revision=8.1.2.v20120308 transitive=false type=jar log=download-only pattern=start.jar/ Does anyone

RE: How does start.jar get build in the Solr trunk repository?

2012-05-07 Thread Steven A Rowe
Hi Neil, ivy-maven-plugin might work: http://evgeny-goldin.com/wiki/Ivy-maven-plugin If it does work for you, I'm interested in the details. Alternatively, you could use maven-antrun-plugin to invoke the Ant build functionality you want from Maven. Steve -Original Message- From:

Integrating SOLR with confluence/JIRA

2012-05-07 Thread srinathmohan
Hello Experts, Has anyone having experience in integrating SOLR search for confluence. If so I would like to know more details on it. Thanks for your help. regards, Srinath Mohan -- View this message in context:

ANNOUNCE: Stump The Chump @ Lucene Revolution

2012-05-07 Thread Chris Hostetter
In ~48 Hours, I'll be doing a Stump The Chump session at Lucene Revolution in Boston MA... http://www.lucenerevolution.com/2012/sessions-day-1#stump-chump If you aren't familiar with Stump The Chump it is a QA style session where I (the Chump) get put on the hot seat to answer tough /

Re: Error about setting up solr instances

2012-05-07 Thread Otis Gospodnetic
Hi Emma, This isn't really Solr-specific... I'd Google that instead or ask on OpenJDK mailing list. Otis Performance Monitoring for Solr / ElasticSearch / HBase - http://sematext.com/spm  From: Emma Bo Liu smile.emma1...@gmail.com To:

Re: field type for Icelandic

2012-05-07 Thread Otis Gospodnetic
Hi, Hm, never had to handle Icelandic and a quick Google search didn't locate a ready to use solution. which doesn't mean there isn't one.  Maybe BasisTech has one? As for synonyms - that's the same for every language: 

Re: Integrating SOLR with confluence/JIRA

2012-05-07 Thread Jack Krupansky
Confluence has APIs for wikis and Jira. You would have to write your own crawler to access the Jira info, extract what you want, and then either format it into either Solr XML documents or use SolrJ to feed the data directly into Solr. http://docs.atlassian.com/jira/REST/latest/ -- Jack

Bridge between Solr and NoSQL

2012-05-07 Thread Francois Perron
Hi all, I would like to know if there is some projects to integrate Solr with NoSQl like MongoDB. They already had a link like this between ElasticSearch and CoughDB. (Cough River I think) Thank you.

RE: solr admin form query (full interface) - unknown handler: select

2012-05-07 Thread Robert Petersen
Hi Jack, That is interesting! I hadn't realized but I guess mine varies slightly from the example. I show my version below. It is like this because I basically merged my 1.4 schema and solr configs with the example 3.6 configs (btw everything else is working fine): requestDispatcher

Re: Bridge between Solr and NoSQL

2012-05-07 Thread Jeff Schmidt
Francois: Check out DataStax Enterprise 2.0, Solr integrated with Cassandra: http://www.datastax.com/docs/datastax_enterprise2.0/search/index And, Solbase, Solr integrated with HBase: https://github.com/Photobucket/Solbase I'm sure there are others, but these two come to mind. Cheers, Jeff

Re: Error about setting up solr instances

2012-05-07 Thread Lance Norskog
This may be an issue with the Memory-Mapped Directory. This opens all files and allocates VM space (but not actual memory) for each entire file. One thing I've noticed is that there can be a lot of open file descriptors for the index, far more than make sense. You may be going out of the