Building a resilient cluster

2012-02-28 Thread Ranjan Bagchi
Hi, I'm interested in setting up a solr cluster where each machine [at least initially] hosts a separate shard of a big index [too big to sit on the machine]. I'm able to put a cloud together by telling it that I have (to start out with) 4 nodes, and then starting up nodes on 3 machines pointing

Couple issues with edismax in 3.5

2012-02-28 Thread Way Cool
Hi, Guys, I am having the following issues with edismax: 1. Search for 4X6 generated the following parsed query: +DisjunctionMaxQueryid:4 id:x id:6)^1.2) | ((name:4 name:x name:6)^1.025) ) while the search for "4 X 6" (with space in between) generated the query below: (I like this one) +((Di

Re: Inconsistent Results with ZooKeeper Ensemble and Four SOLR Cloud Nodes

2012-02-28 Thread Mark Miller
Hmm...this is very strange - there is nothing interesting in any of the logs? In clusterstate.json, all of the shards have an active state? There are quite a few of us doing exactly this setup recently, so there must be something we are missing here... Any info you can offer might help. - Mar

Re: solr returns reduced results for same query after adding a new field to the schema.

2012-02-28 Thread Chris Hostetter
: When I query solr with the query ?q=ingredientSuggestion=banana I get : 160 results. : Ok, all fine. : : When I add a new field such as : : : : to my index it reduces the number of results from my query to 131, even : though the query : has'nt changed and does not (at least explicitly

Re: Error during auto-warming of key

2012-02-28 Thread Oana Goilav
Hi, Did you find the root cause of this issue? Cheers, Oana [http://elasticpath.com/images/ep.gif] Oana Goilav, Software Engineer Phone: 604.408.8078 ext. 203 Email: oana.goi...@elasticpath.com Elastic Path Software, Inc. Web elasticpath.com

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread sharadgaur
I was using fieldType text_general_rev But since I changed to fieldType text_genral. Everything is running fine not getting InvalidTokenOffsetsException exception.

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread Ahmet Arslan
> Not sure whether that question was directed at me, but I am > not using HTMLStripCharFilter but some other pattern > replacements which modify > character positions, probably in the same manner as > HTMLStripCharFilter > does. I thought that cause of the problem is https://issues.apache.org/jir

Need tokenization that finds part of stringvalue

2012-02-28 Thread PeterKerk
I have the following in my schema.xml I want to search on field "title". Now my field title holds the value "great smartphone". If I search on "smartphone" the item is fo

Re: Speeding up indexing

2012-02-28 Thread Erik Hatcher
30 million - that's feasible on a single (beefy) Solr server but whether it's advisable to go distributed or not depends on other factors, like query speed issues you may have with that many docs in a single server, expected collection growth, and so on. As for your questions further below

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread Marian Steinbach
Am 28. Februar 2012 21:14 schrieb Ahmet Arslan : > > Are you using HTMLStripCharFilter ? If yes this could be : > https://issues.apache.org/jira/browse/LUCENE-3690 > Not sure whether that question was directed at me, but I am not using HTMLStripCharFilter but some other pattern replacements whic

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread Ahmet Arslan
> Unfortunately I don't have any news > on that. I disabled highlighting on the > text field (sadly). > > Have you tracked down which field causes the problem? Can > you tell which > filters you are applying to the according field type? Are you using HTMLStripCharFilter ? If yes this could be : h

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread Marian Steinbach
Unfortunately I don't have any news on that. I disabled highlighting on the text field (sadly). Have you tracked down which field causes the problem? Can you tell which filters you are applying to the according field type? Marian

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-02-28 Thread sharadgaur
I am also facing same problem do you have any update on it. I am using Solr 3.5 and getting same error... Feb 28, 2012 1:40:44 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token to exc

Re: indexing but not able to search

2012-02-28 Thread somer81
hello did solve this problem. I am a newbie with Solr. I just tried to add a simple XML file to Solr. It works fine adds and indexes but when try to search it I cannot see the docs fields which I described in XML. I see them in schema browser. They look they are indexed. I even tried to give s

Re: Is there a way to implement a IntRangeField in Solr?

2012-02-28 Thread Mikhail Khludnev
On Tue, Feb 28, 2012 at 6:44 PM, federico.wachs wrote: > Hi Mikhail, thanks for your concern and reply. > > I've read a few dozen times your reply and I think I get what you mean, but > I'm not exactly sure how to go forward with your approach. You are saying > that I should be able to have nested

Using LocalParams in StatsComponent to create a price slider?

2012-02-28 Thread Ted Strauss
Hi Mark, Just wondering if you ever resolved your issue here and/or if you submitted a bug/improvement on Lucene? If not, I'll submit it. Cheers ts

Re: Inconsistent Results with ZooKeeper Ensemble and Four SOLR Cloud Nodes

2012-02-28 Thread Matthew Parker
Mark, I got the codebase from the 2/26/2012, and I got the same inconsistent results. I have solr running on four ports 8081-8084 8081 and 8082 are the leaders for shard 1, and shard 2, respectively 8083 - is assigned to shard 1 8084 - is assigned to shard 2 queries come in and sometime it see

SOLR-3159 and 3x - Upgrading Jetty

2012-02-28 Thread Shawn Heisey
SOLR-3159 will bring Jetty 8 to Solr trunk. It mentions that the JDK is required for JSP under Jetty 8 (and getting rid of JSP in Solr), which probably means that Apache can't put it into branch_3x. My systems use the JDK, so I would not expect that to be a problem for me. Solr is not direct

Re: Unique key constraint and optimistic locking (versioning)

2012-02-28 Thread Per Steffensen
Created SOLR-3173 on the part about making insert fail if document (with same uniqueKey) already exists. SOLR-3173 also includes to make "update" not insert document if not already exists - just for consistency with normal RDBMS behaviour. So basically the feature allowes you to turn on this be

Java6 End of Life, upgrading to 7

2012-02-28 Thread Shawn Heisey
Due to the End of Life announcement for Java6, I am going to need to upgrade to Java 7 in the very near future. I'm running Solr 3.5.0 modified with a couple of JIRA patches. https://blogs.oracle.com/henrik/entry/updated_java_6_eol_date I saw the announcement that Java 7u1 had fixed all the k

RE: sun-java6 alternatives for Solr 3.5

2012-02-28 Thread ku3ia
Hi. Thanks for your responses. Yesterday I tried openjdk-6-jre package from ubuntu 10.04 LTS repos. I'll monitor the situation, but seems it works! (c) -- View this message in context: http://lucene.472066.n3.nabble.com/sun-java6-alternatives-for-Solr-3-5-tp3781792p3784278.html Sent from the Solr

RE: sun-java6 alternatives for Solr 3.5

2012-02-28 Thread Chantal Ackermann
You can download Oracle's Java (which was Sun's) from Oracle directly. You will have to create an account with them. You can use the same account for reading the java forum and downloading other software like their famous DB. Simply download. JDK6 is still a binary as were all Sun packages before.

Re: Is there a way to implement a IntRangeField in Solr?

2012-02-28 Thread federico.wachs
Hi Mikhail, thanks for your concern and reply. I've read a few dozen times your reply and I think I get what you mean, but I'm not exactly sure how to go forward with your approach. You are saying that I should be able to have nested documents, but I haven't been able to submit a Document with ano

Re: SolrCloud on Trunk

2012-02-28 Thread Jamie Johnson
Very interesting Andre. I believe this is inline with the larger vision, specifically you'd use the hashing algorithm to create the initial splits in the forwarding table, then if you needed to add a new shard you'd need to split/merge an existing range. I think creating the algorithm is probably

Re: maxClauseCount Exception

2012-02-28 Thread Vadim Kisselmann
Set maxBooleanClauses in your solrconfig.xml higher, default is 1024. Your query blast this limit. Regards Vadim 2012/2/22 Darren Govoni > Hi, > I am suddenly getting a maxClauseCount exception for no reason. I am > using Solr 3.5. I have only 206 documents in my index. > > Any ideas? This is

Re: Index empty after restart.

2012-02-28 Thread Erick Erickson
What did you do that you expect there to be data? Index stuff? How? Did you commit after you were done? Best Erick On Mon, Feb 27, 2012 at 11:40 AM, zarni aung wrote: > Check in the data directory to make sure that they are present.  If so, you > just need to load the cores again. > > On Mon, F

RE: solr returns reduced results for same query after adding a new field to the schema.

2012-02-28 Thread Mark Swinson
yes, sorry. -Original Message- From: Dmitry Kan [mailto:dmitry@gmail.com] Sent: 28 February 2012 12:33 To: solr-user@lucene.apache.org Subject: Re: solr returns reduced results for same query after adding a new field to the schema. Hi, you meant you query is: ?q=ingredientSuggesti

Re: solr returns reduced results for same query after adding a new field to the schema.

2012-02-28 Thread Dmitry Kan
Hi, you meant you query is: ?q=ingredientSuggestion:banana right? On Tue, Feb 28, 2012 at 2:29 PM, Mark Swinson wrote: > Hi, > > I'm currently setting up a schema in solr, which is being imported using > the data-import plugin. > > The initial config contains the following key information: > >

solr returns reduced results for same query after adding a new field to the schema.

2012-02-28 Thread Mark Swinson
Hi, I'm currently setting up a schema in solr, which is being imported using the data-import plugin. The initial config contains the following key information: ...

Re: SolrCloud on Trunk

2012-02-28 Thread Andre Bois-Crettez
Consistent hashing seem like a solution to reduce the shuffling of keys when adding/deleting shards : http://www.tomkleinpeter.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/ Twitter describe a more flexible sharding in section "Gizzard handles partitioning through a forwarding tabl

Re: Delta-Import adding duplicate entry.

2012-02-28 Thread Suneel
I have made unique key in schema.xml now its working for me thanx a lot Regards, - Suneel Pandey Sr. Software Developer -- View this message in context: http://lucene.472066.n3.nabble.com/Delta-Import-adding-duplicate-entry-tp3783114p3783550.html Sent from the Solr - User mailing list arc

Re: Delta-Import adding duplicate entry.

2012-02-28 Thread Ahmet Arslan
> but every time when i am executing delta-import through DIH > it picked only > changed data that is ok, but rather then updating its adding > duplicate > records. Do you have ... defined in your schema.xml? http://wiki.apache.org/solr/UniqueKey

Re: Is there a way to implement a IntRangeField in Solr?

2012-02-28 Thread Mikhail Khludnev
Hello, For me it looks like typical nested documents use-case. You have an apartment document with nested lease documents. Where lease has from and to fields. So, you need to find apartments which has no lease in the range provided $need_from $need_to conflicted leases can be found by (from:[$nee

Re: Solr Cloud, Commits and Master/Slave configuration

2012-02-28 Thread eks dev
SolrCluod is going to be great, NRT feature is really huge step forward, as well as central configuration, elasticity ... The only thing I do not yet understand is treatment of cases that were traditionally covered by Master/Slave setup. Batch update If I get it right (?), updates to replicas are