RE: SnapPull failed - SOLR 4.1

2013-03-17 Thread Sandeep Kumar Anumalla
Hi Mark I am new to Solr. I did a set up using Solr 4.1.0 , I did a Master and Replication set up on different machines. But in the salve machine I am getting the below exception SEVERE: SnapPull failed :org.apache.solr.common.SolrException: Unable to download _8kj.fnm completely. Downloaded 0

RE: SnapPull failed - SOLR 4.1

2013-03-17 Thread Sandeep Kumar Anumalla
I am new to Solr. I did a set up using Solr 4.1.0 , I did a Master and Replication set up on different machines. But in the salve machine I am getting the below exception SEVERE: SnapPull failed :org.apache.solr.common.SolrException: Unable to download _8kj.fnm completely. Downloaded 0!=724 Wh

Re: SnapPull failed - SOLR 4.1

2013-03-17 Thread Mark Miller
This is probably related to some Replication bugs that 4.1 had - 4.2 is probably your best bet for a fix. - Mark On Mar 18, 2013, at 1:48 AM, Sandeep Kumar Anumalla wrote: > SEVERE: SnapPull failed :org.apache.solr.common.SolrException: Unable to > download _xv0_Lucene41_0.doc completely. Do

Re: how to get term vector information of sepcific word/position in field

2013-03-17 Thread vrparekh
The requirement might seems weird, but the text field is big, and to get term vector information for 10 records in response will decrease the speed. and also i don't want term vector information of all the words. Is there any possible solution ? -- View this message in context: http://lucene

RE: SnapPull failed - SOLR 4.1

2013-03-17 Thread Sandeep Kumar Anumalla
SEVERE: SnapPull failed :org.apache.solr.common.SolrException: Unable to download _xv0_Lucene41_0.doc completely. Downloaded 0!=5935 We are continuously getting the above exception in our replication (SALVE) machine. I tried compression option, increased bandwidth between Master and Slave also

RE: Is Solr more CPU bound or IO bound?

2013-03-17 Thread David Parks
Thank you, Manu, for that excellent discussion on the topic, I could have been more detailed about my use case. We'll be indexing off-of the main production servers (either on a master, or in Hadoop, we're yet to build out that piece of the puzzle). We don't store documents at all, we only store t

Re: Handling a closed IndexWriter in SOLR 4.0

2013-03-17 Thread mark12345
This looks similar to the issue I also have: * http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-td4046543.html *https://issues.apache.org/jira/browse

Re: Solr 4.1/4.2 - SolrException: Error opening new searcher - With JUnit test class

2013-03-17 Thread mark12345
Create JIRA Issue: https://issues.apache.org/jira/browse/SOLR-4605 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-tp4046543p4048420.html Sent from the Solr - User mail

Re: Is Solr more CPU bound or IO bound?

2013-03-17 Thread Manuel Le Normand
Your question is a typical use-case dependent, the bottleneck will change from user to user. These are two main issues that will affect the answer: 1. How do you index: what is your indexing rate (how many docs a days)? how big is a typical document? how many documents do you plan on indexing in t

Is Solr more CPU bound or IO bound?

2013-03-17 Thread David Parks
I'm spec'ing out some hardware for a first go at our production Solr instance, but I haven't spent enough time loadtesting it yet. What I want to ask if how IO intensive solr is vs. CPU intensive, typically. Specifically I'm considering whether to dual-purpose the Solr servers to run Solr a

Re: [ANNOUNCE] Apache Solr 4.2 released

2013-03-17 Thread Bill Au
The "Upgrading from Solr 4.1.0" section of the 4.2.0 CHANGES.txt says: "(No upgrade instructions yet)" To me that's not the same as no need to do anything. I think the doc should be updated with either specific instructions or states 4.2.0 is backward compatible with 4.1.0 so there is no need to

Fuzzy Suggester and exactMatchFirst

2013-03-17 Thread Eoghan Ó Carragáin
Hi, I've got the Fuzzy Suggester returning results thanks to tips from Robert Muir, but some of the suggestions aren't great. For example, passing spellcheck.q=colla to the standard Suggester gives: collaboration collaborate collaborating collaborations Whereas passing spellcheck.q=colla to th

4.0 hanging on startup on Windows after Control-C

2013-03-17 Thread xavier jmlucjav
Hi, I have an index where, if I kill solr via Control-C, it consistently hangs next time I start it. Admin does not show cores, and searches never return. If I delete the index contents and I restart again all is ok. I am on windows 7, jdk1.7 and Solr4.0. Is this a known issue? I looked in jira bu

Re: Is there an EdgeSingleFilter already?

2013-03-17 Thread Steve Rowe
Hi xavier, Cool, thanks for the feedback, I'll commit later today (unless somebody objects), so it will be part of the Lucene/Solr 4.3 release. Steve On Mar 17, 2013, at 1:21 PM, xavier jmlucjav wrote: > Steve, worked like a charm. > thanks! > > > On Sun, Mar 17, 2013 at 7:37 AM, Steve Rowe

Re: Is there an EdgeSingleFilter already?

2013-03-17 Thread xavier jmlucjav
Steve, worked like a charm. thanks! On Sun, Mar 17, 2013 at 7:37 AM, Steve Rowe wrote: > See https://issues.apache.org/jira/browse/LUCENE-4843 > > Let me know if it works for you. > > Steve > > On Mar 16, 2013, at 5:35 PM, xavier jmlucjav wrote: > > > I read too fast your reply, so I thought y

Re: Mark document as hidden

2013-03-17 Thread Jack Krupansky
Another technique to get around the Zookeeper size issue is to split a larger file into smaller pieces and then combine them in you code that moves them to the index. OTOH, compression might be a better approach. In any case, it sounds like it is worth a Jira to propose that a better solution

Re: Can I run solr cluster on other ports after inital run?

2013-03-17 Thread Mark Miller
On Mar 17, 2013, at 11:03 AM, adfel70 wrote: > Can I somehow you this with the collections API? > Currently I use collections API to create a new collection. > Any feature that gives all the cores that are created in background when I > use collections API, a single coreNodeName-suffix for exam

RE: Solr 3.6.1 ClassNotFound Exception

2013-03-17 Thread Zhang, Lisheng
Hi Erick, Thanks! Actually this is other people's installation and I help to debug. I guess is that in solrconfig.xml, the line: (or other similar line) somehow does not work , I will try to look more. Thanks very much for helps, Lisheng -Original Message- From: Erick Erickson [mai

Re: Can I run solr cluster on other ports after inital run?

2013-03-17 Thread adfel70
Can I somehow you this with the collections API? Currently I use collections API to create a new collection. Any feature that gives all the cores that are created in background when I use collections API, a single coreNodeName-suffix for example? Mark Miller-3 wrote > If you are using Solr 4.0

Re: Can I run solr cluster on other ports after inital run?

2013-03-17 Thread Mark Miller
If you are using Solr 4.0 or 4.1, you have to add the new shard with the ip that you want to take over and then remove the original. You can't have a new ip take over for an old one, you have to just add a new replica and kill the original. In Solr 4.2 there is a property called coreNodeName th

Can I run solr cluster on other ports after inital run?

2013-03-17 Thread adfel70
Hi, I see that solr nodes are given their names in zookeeper with ip-host dependence. Can I change these ports? Will zookeeper know that the nodes run on new ports in order to update all its data? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Can-I-run-solr-cluste

Re: Solr 3.6.1 ClassNotFound Exception

2013-03-17 Thread Erick Erickson
Hmmm, you shouldn't have to go looking for this, it should just be there. My guess is that you have some kind of classpath issue. If you have access to a machine that has never seen Solr, or a VM, I'd try installing a fresh copy of Solr. If that works, then you can be pretty sure you've changed yo

Re: Solr 3.6.1 and facet query regular expression

2013-03-17 Thread Erick Erickson
Have you just tried what you showed? It should work if I understand the question. If it doesn't work, please show us the query in, the response out, and what is NOT as you expect. Best Erick On Sat, Mar 16, 2013 at 5:20 AM, xpow wrote: > please help ... > > > > -- > View this message in contex

Re: NRT - softCommit

2013-03-17 Thread Erick Erickson
You shouldn't need to specify openSearcher on soft commits, I suspect there's something else going on. Is it possible that you're getting results from your browser cache? Try turning browser caching off would be one place to start. To check your autocommit, one thing you can do is issue q=*:*, the

Re: Mark document as hidden

2013-03-17 Thread lboutros
Oh, I see :) I did not catch well what you said. Well, my index could contain 80 millions of elements and a big amount of them could be hidden. As you already said, I don't think that ZooKeeper is the right place to store these files, they are too big. Thank you again, that gave me some ideas I w

Re: Query.toString printing binary in the output...

2013-03-17 Thread Erick Erickson
Hmmm, without looking at the code, somehow when you specify debug=query you get readable results, maybe that code would be a place to start? And are you looking for the parsed output? Otherwise you could print original query. Not much help Erick On Fri, Mar 15, 2013 at 3:24 PM, Andrew Lundg

Re: [ANNOUNCE] Apache Solr 4.2 released

2013-03-17 Thread sandeep a
Hi , please let me know how to upgrade solr from 4.1.0 to 4.2.0. -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCE-Apache-Solr-4-2-released-tp4046510p4048201.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Mark document as hidden

2013-03-17 Thread Jack Krupansky
Uh, no, I never suggested that "All files in the index directory are replicated". I simply said that if you created your file as a configuration file and let Zookeeper propagate it as a configuration file, THEN YOU could write a handler/component which would copy from the configuration directory

Re: Mark document as hidden

2013-03-17 Thread lboutros
Thanks Jack for your answers. All files in the index directory are replicated ? I thought that only the lucene index files were replicated. If you are right, that's great, because I could create an ExternalFileField type which could get its input file from the index directory and not from the data