Re: Issue serving concurrent requests to SOLR on PROD

2015-05-19 Thread Luis Cappa Banda
Hi there, Unfortunately I don' t agree with Shawn when he suggest to update server.xml configuration up to 1 in maxThreads. If Tomcat (due to the concurrent overload you' re suffering, the type of the queries you' re handling, etc.) cannot manage the requested queries what could happen is

Re: Real-Time get and Dynamic Fields: possible bug.

2015-05-14 Thread Luis Cappa Banda
Ehem, *_target --- *_facet. 2015-05-14 16:47 GMT+02:00 Luis Cappa Banda luisca...@gmail.com: Hi Yonik, Yes, they are the target from copyFields in the schema.xml. This *_target fields are suposed to be used in some specific searchable (thus, tokenized) fields that in the future

Re: Real-Time get and Dynamic Fields: possible bug.

2015-05-14 Thread Luis Cappa Banda
. -Yonik On Thu, May 14, 2015 at 7:17 AM, Luis Cappa Banda luisca...@gmail.com wrote: Hi there, I have the following dynamicFields definition in my schema.xml: !-- I18n DynamicFields -- dynamicField name=i18n* type=string indexed=true stored=true / !-- DynamicFields used

Re: Real-Time get and Dynamic Fields: possible bug.

2015-05-14 Thread Luis Cappa Banda
at 12:49 PM, Luis Cappa Banda luisca...@gmail.com wrote: If you don' t mark as stored a field indexed and 'facetable', I was expecting to not be able to return their values, so faceting has no sense. Faceting does not use or retrieve stored field values. The labels faceting returns

Re: Real-Time get and Dynamic Fields: possible bug.

2015-05-14 Thread Luis Cappa Banda
- Multivalued: *_facet are multivalued. Regards, - Luis Cappa 2015-05-14 18:32 GMT+02:00 Yonik Seeley ysee...@gmail.com: On Thu, May 14, 2015 at 10:47 AM, Luis Cappa Banda luisca...@gmail.com wrote: Hi Yonik, Yes, they are the target from copyFields in the schema.xml. This *_target fields

Real-Time get and Dynamic Fields: possible bug.

2015-05-14 Thread Luis Cappa Banda
Hi there, I have the following dynamicFields definition in my schema.xml: !-- I18n DynamicFields -- dynamicField name=i18n* type=string indexed=true stored=true / !-- DynamicFields used typically for faceting issues by copying values from other existing fields-- dynamicField name=*_facet

Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
Hey guys, I've doing some tests sharing the same index between three Solr servers: *SolrA*: is allowed to both read and index. The index is stored in a NFS. It has its own configuration files. *SolrB and SolrC*: they can only read from the shared index and each one has their own configuration

Re: Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
or FSDirectoyReader) that always read the current segments when a commit happens? 2014-03-12 11:35 GMT+01:00 Luis Cappa Banda luisca...@gmail.com: Hey guys, I've doing some tests sharing the same index between three Solr servers: *SolrA*: is allowed to both read and index. The index is stored

Re: Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
? Thanks in advance! Best, 2014-03-12 12:10 GMT+01:00 Luis Cappa Banda luisca...@gmail.com: I've seen that StandardDirectoryReader appears in the commit logs. Maybe this DirectoryReader type is caching somehow the old segments in SolrB and SolrC even if they have been commited previosly

Re: Optimize and replication: some questions battery.

2014-02-06 Thread Luis Cappa Banda
Hi Chris, Thank you very much for your response! It was very instructive. I knew some performance tips to improve search and I configured a very low merge factor (mergeFactor2/mergeFactor) to boost search operations instead of indexation ones. I haven't got a deep knowledge of internal Lucene

Re: Optimize and replication: some questions battery.

2014-02-06 Thread Luis Cappa Banda
was about optimizing at much as possible search speed thanks to optimizing, mergeFactor tunning, caches setup, etc. Thanks a lot! 2014-02-06 Toke Eskildsen t...@statsbiblioteket.dk: On Thu, 2014-02-06 at 10:22 +0100, Luis Cappa Banda wrote: I knew some performance tips to improve search and I

Optimize and replication: some questions battery.

2014-02-05 Thread Luis Cappa Banda
Hello! I've got an scenario where I index very frequently on master servers and replicate to slave servers with one minute polling. Master indexes are growing fast and I would like to optimize indexes to improve search queries. However... 1. During an optimize operation, can master servers index

Facet count mismatch.

2014-01-20 Thread Luis Cappa Banda
Hello! I've installed a classical two shards Solr 4.5 topology without SolrCloud balancing with an HA proxy. I've got a *copyField* like this: * field name=tagValues type=string indexed=true stored=true multiValued=false/* Copied from this one: * field name=tags type=searchableTextTokenized

Re: Is there any limit how many documents can be indexed by apache solr

2013-11-26 Thread Luis Cappa Banda
Hello! Checkout also your application server logs. Maybe you're trying to index Documents with any syntax error and they are skipped. Regards, - Luis Cappa 2013/11/26 Alejandro Marqués Rodríguez amarq...@paradigmatecnologico.com Hi, In lucene you are supossed to be able to index up to 274

Replication: slow first query after replication.

2013-11-05 Thread Luis Cappa Banda
Hi guys! I have a master-slave replication (Solr 4.1 version) with a 30 seconds polling interval and continuously new documents are indexed, so after 30 seconds always new data must be replicated. My test index is not huge: just 5M documents. I have experimented that a simple q=*:* query appears

Re: Replication: slow first query after replication.

2013-11-05 Thread Luis Cappa Banda
Against -- again, :-) 2013/11/5 Luis Cappa Banda luisca...@gmail.com Hi guys! I have a master-slave replication (Solr 4.1 version) with a 30 seconds polling interval and continuously new documents are indexed, so after 30 seconds always new data must be replicated. My test index

Re: Spellcheck with Distributed Search (sharding).

2013-10-24 Thread Luis Cappa Banda
Any idea? 2013/10/23 Luis Cappa Banda luisca...@gmail.com More info: When executing the Query to a single Solr server it works: http://solr1:8080/events/data/suggest?q=mwt=jsonhttp://solrclusterd.buguroo.dev:8080/events/data/suggest?q=mwt=json { - responseHeader

Re: Spellcheck with Distributed Search (sharding).

2013-10-24 Thread Luis Cappa Banda
-4311 -Original Message- From: Luis Cappa Banda [mailto:luisca...@gmail.com] Sent: Thursday, October 24, 2013 6:22 AM To: solr-user@lucene.apache.org Subject: Re: Spellcheck with Distributed Search (sharding). Any idea? 2013/10/23 Luis Cappa Banda luisca...@gmail.com More info

Spellcheck with Distributed Search (sharding).

2013-10-23 Thread Luis Cappa Banda
Hello! I'be been trying to enable Spellchecking using sharding following the steps from the Wiki, but I failed, :-( What I do is: *Solrconfig.xml* *searchComponent name=suggest* class=solr.SpellCheckComponent lst name=spellchecker str name=namesuggest/str str

Re: Spellcheck with Distributed Search (sharding).

2013-10-23 Thread Luis Cappa Banda
=/suggestwt=jsonq=*:* 2013/10/23 Luis Cappa Banda luisca...@gmail.com Hello! I'be been trying to enable Spellchecking using sharding following the steps from the Wiki, but I failed, :-( What I do is: *Solrconfig.xml* *searchComponent name=suggest* class=solr.SpellCheckComponent lst name

Re: Distributed MLT is slow

2013-08-20 Thread Luis Cappa Banda
Is distributed MLT officially released or you are using a patch? El martes, 20 de agosto de 2013, Shawn Heisey escribió: Before I file an issue on this, I wanted to bring it up here, so I can see if there's something I'm overlooking. Distributed MLT is very very slow for me. I can make it

EmbeddedSolrServer Solr 4.4.0 bug?

2013-07-31 Thread Luis Cappa Banda
Hello guys, Since I upgrade from 4.1.0 to 4.4.0 version I've noticed that EmbeddedSolrServer has changed a little the way of construction: *Solr 4.1.0 style:* CoreContainer coreContainer = new CoreContainer(*solrHome, new File(solrHome+/solr.xml*)); EmbeddedSolrServer localSolrServer = new

Re: EmbeddedSolrServer Solr 4.4.0 bug?

2013-07-31 Thread Luis Cappa Banda
something in CHANGES.txt to point this out... Alan Woodward www.flax.co.uk On 31 Jul 2013, at 08:53, Luis Cappa Banda wrote: Hello guys, Since I upgrade from 4.1.0 to 4.4.0 version I've noticed that EmbeddedSolrServer has changed a little the way of construction: *Solr 4.1.0 style

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
the wheel? -- Jack Krupansky -Original Message- From: Luis Cappa Banda Sent: Tuesday, July 30, 2013 10:53 AM To: solr-user@lucene.apache.org Subject: Email regular expression. Hello everyone! Unfortunately I have to search all E-mail addresses found in a text field from each

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
like it, to be honest, Regards, 2013/7/30 Luis Cappa Banda luisca...@gmail.com Hello, Jack, Steve, Thank you for your answers. I´ve never used UAX29URLEmailTokenizerFactory, but I´ve read about it before trying RegExp´s queries. As far as I know, UAX29URLEmailTokenizerFactory allows

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
I´ve tried this kind of queries in the past but I detected that they have a poor performance and that they are incredibly slow. But it´s just my experience, maybe someone can share with us any other opinion. 2013/7/30 Raymond Wiker rwi...@gmail.com On Jul 30, 2013, at 22:05 , Luis Cappa Banda

Re: Performance question on Spatial Search

2013-07-30 Thread Luis Cappa Banda
Hey, David, I´ve been reading the thread and I think that is one of the most educative mail-threads I´ve read in Solr mailing list. Just for curiosity: internally for Solr, is it the same a query like field:* and field:[* TO *]? I think that it´s expected to receive the same number of numFound

Re: Performance question on Spatial Search

2013-07-30 Thread Luis Cappa Banda
On 7/30/13 4:44 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hey, David, I´ve been reading the thread and I think that is one of the most educative mail-threads I´ve read in Solr mailing list. Just for curiosity: internally for Solr, is it the same a query like field:* and field

Re: Distributed query: strange behavior.

2013-05-27 Thread Luis Cappa Banda
unique key to appear in the index, even in different shards? Isn't it a bug by definition? What am I missing here? Thanks, Val On 05/23/2013 09:55 AM, Shawn Heisey wrote: On 5/23/2013 1:51 AM, Luis Cappa Banda wrote: I've query each Solr shard server one by one and the total

Re: Distributed query: strange behavior.

2013-05-27 Thread Luis Cappa Banda
anyone experienced the same? Best regards, - Luis Cappa 2013/5/27 Luis Cappa Banda luisca...@gmail.com Hi, Erick! That's it! I'm using a custom implementation of a SolrServer with distributed behavior that routes queries and updates using an in-house Round Robin method. But the thing

Re: Distributed query: strange behavior.

2013-05-24 Thread Luis Cappa Banda
On 5/23/2013 1:51 AM, Luis Cappa Banda wrote: I've query each Solr shard server one by one and the total number of documents is correct. However, when I change rows parameter from 10 to 100 the total numFound of documents change: I've seen this problem on the list before and the cause has

Distributed query: strange behavior.

2013-05-23 Thread Luis Cappa Banda
Hello, guys! I'm running Solr 4.3.0 and I've notice an strange behavior during distributed queries execution. Currently I have three Solr servers as shards and I when I do the following query... http://localhost:11080/twitter/data/select?q=*:**rows=10*

Re: Quick SolrJ query how-to question.

2013-05-15 Thread Luis Cappa Banda
-sockets-to-fetch-a-webpage-with-java But, that's a trivial case. You might have something else in mind. Jack On Tue, May 14, 2013 at 1:36 PM, Shawn Heisey s...@elyograg.org wrote: On 5/14/2013 3:13 AM, Luis Cappa Banda wrote: I know that, but I was wondering if it exists another way just

Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
Hello, guys! I would like to do something like this. Let's suppose we have: * * *(...) * * * *String query = q=*:*start=0rows=20sort=date%20desc;* * * *SolrQuery solrQuery = new SolrQuery();* *solrQuery.setQuery(query);* * * *server.query(solrQuery);* * * *(...)* I tried that and it fails. My

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
about SolrQuery. 2013/5/14 Luis Cappa Banda luisca...@gmail.com Hello, guys! I would like to do something like this. Let's suppose we have: * * *(...) * * * *String query = q=*:*start=0rows=20sort=date%20desc;* * * *SolrQuery solrQuery = new SolrQuery

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
is just the result of calling toString() on the HashMap). Upayavira On Tue, May 14, 2013, at 10:13 AM, Luis Cappa Banda wrote: I know that, but I was wondering if it exists another way just to set the complete query (including q, fq, sort, etc.) embedded in a SolrQuery object as the same

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
request use the complete query string. 2013/5/14 Luis Cappa Banda luisca...@gmail.com I know that, but I was wondering if it exists another way just to set the complete query (including q, fq, sort, etc.) embedded in a SolrQuery object as the same way that you query using some kind

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
object? I think it's much easier to parse a json format response to you business object. 2013/5/14 Luis Cappa Banda luisca...@gmail.com Yeah, unfortunately that's what I'm doing right now, but parsing the resultant String from the HttpClient response into a QueryResponse seems

Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
Is it possible to index plain String JSON documents using SolrJ? I already know annotating POJOs works fine, but I need a more flexible way to index data without any intermediate POJO. That's because when changing, adding or removing new fields I don't want to change continously that POJO again

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
. -- Jack Krupansky -Original Message- From: Luis Cappa Banda Sent: Monday, May 13, 2013 10:52 AM To: solr-user@lucene.apache.org Subject: Quick question about indexing with SolrJ. Is it possible to index plain String JSON documents using SolrJ? I already know annotating POJOs

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-20 Thread Luis Cappa Banda
Della Bitta Appinions 18 East 41st Street, 2nd Floor New York, NY 10017-6271 www.appinions.com Where Influence Isn’t a Game On Tue, Mar 19, 2013 at 3:57 PM, Luis Cappa Banda luisca...@gmail.com wrote: Anyone can help me? Each response

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-19 Thread Luis Cappa Banda
PM, Luis Cappa Banda luisca...@gmail.com wrote: And up! :-) I´ve been wondering if using CloudSolrServer has something to do here. Does it have a bad performance when a CloudSolrServer singletong receives multiple queries? Is it recommended to have a CloudSolrServer instances list

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Luis Cappa Banda
/14 Luis Cappa Banda luisca...@gmail.com Hello! Thanks a lot, Erick! I've attached some stack traces during a normal 'engine' running. Cheers, - Luis Cappa 2013/3/13 Erick Erickson erickerick...@gmail.com Stack traces.. First, jps -l that will give you a the process IDs of your

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Luis Cappa Banda
PM, Mark Miller markrmil...@gmail.com wrote: You def have to use multiple threads with it for it to be fast, but 3 or 4 docs a second still sounds absurdly slow. - Mark On Mar 15, 2013, at 2:58 PM, Luis Cappa Banda luisca...@gmail.com wrote: And up! :-) I´ve been wondering

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-14 Thread Luis Cappa Banda
above Usually I pipe the output from jstack into a text file... Best Erick On Wed, Mar 13, 2013 at 1:48 PM, Luis Cappa Banda luisca...@gmail.com wrote: Uhm, how can I do that... 'cleanly'? I know that with JConsole it´s posible to output this traces, but with a .war application built

SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
Hello, guys! I´ve been experiencing some annoying behavior with my current production scenario. Here is the snapshot: - SolrCloud: 2 shards - Zookeeper ensemble: 3 nodes in *different machines *(most of the tutorials installs 3 Zookeeper nodes in the same machine). - This is the

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
queries directly into Solr. Thanks! - Luis Cappa 2013/3/13 Luis Cappa Banda luisca...@gmail.com Hello, guys! I´ve been experiencing some annoying behavior with my current production scenario. Here is the snapshot: - SolrCloud: 2 shards - Zookeeper ensemble: 3 nodes in *different

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
you very much, Mark. - Luis Cappa And 2013/3/13 Mark Miller markrmil...@gmail.com Could you capture some thread stack traces in the 'engine' and see if there are any blocking methods? - Mark On Mar 13, 2013, at 1:34 PM, Luis Cappa Banda luisca...@gmail.com wrote: Just one correction

Re: Solr 4.1: problems with Spatial Search.

2013-03-12 Thread Luis Cappa Banda
Hey, David. How are you? I did what you suggested and now works fine. However I hope that those performance issues will be resolved soon and I hope I could help some way: coding, testing, whatever. About cache warm up, I have setted up some warm-up queries in solrconfig.xml that fills the cache.

Re: Solr 4.1: problems with Spatial Search.

2013-03-09 Thread Luis Cappa Banda
is the field fieldtype for geolocation 2) can you try changing your query to q={!func}geodist() to verify that the function works at all? : Date: Tue, 5 Mar 2013 19:30:33 +0100 : From: Luis Cappa Banda lt; luiscappa@ gt; : Reply-To: solr-user@.apache

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
that the function works at all? : Date: Tue, 5 Mar 2013 19:30:33 +0100 : From: Luis Cappa Banda luisca...@gmail.com : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Solr 4.1: problems with Spatial Search. : : Without the sort it works perfectly

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
for geolocation 2) can you try changing your query to q={!func}geodist() to verify that the function works at all? : Date: Tue, 5 Mar 2013 19:30:33 +0100 : From: Luis Cappa Banda lt; luiscappa@ gt; : Reply-To: solr-user@.apache : To: solr-user@.apache : Subject: Re: Solr

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
) what is the field fieldtype for geolocation 2) can you try changing your query to q={!func}geodist() to verify that the function works at all? : Date: Tue, 5 Mar 2013 19:30:33 +0100 : From: Luis Cappa Banda lt; luiscappa@ gt; : Reply-To: solr-user@.apache : To: solr

Re: Solr 4.1: problems with Spatial Search.

2013-03-05 Thread Luis Cappa Banda
Without the sort it works perfectly, and there are no more error messages, just the one I copypasted, :-( El 05/03/2013 19:05, David Smiley (@MITRE.org) dsmi...@mitre.org escribió: Hmm; weird. It looks right. Does it work without the sort? -- i.e. does the filter work? Are there more

Re: Solrcloud 4.1 Cluster state NullPointerException error.

2013-01-30 Thread Luis Cappa Banda
/30 Luis Cappa Banda luisca...@gmail.com Hello, guys. After upgrading from Solr 4.1 to Solr 4.1 the following error has frecuently appeared in my logs. *INFO: A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating

Solr 4.1 Maven artifacts.

2013-01-28 Thread Luis Cappa Banda
Hello! I haven´t found Solr 4.1 maven artifacts to update my Solr projects dependencies. Are they published in the public Mvn repositories? Thank you!

Re: Solr 4 (CloudSolrServer and LBHttpSolrServer question)

2013-01-04 Thread Luis Cappa Banda
Any release stimation date, Mark? I heard something about January. I was considering using 4.0 for production but if 4.1 release is incomming I could wait a little more. 2013/1/4 Mark Miller markrmil...@gmail.com CloudSolrServer can be used for indexing and is smart about indexing since it

Re: Solr Cloud 4.0 Production Ready?

2012-12-18 Thread Luis Cappa Banda
Any idea about when Solr 4.1 will be released? 2012/12/18 Otis Gospodnetic otis.gospodne...@gmail.com Hi, If you are not in a rush, I'd wait for Solr 4.1. Not that Solr 4.0 is not usable, but Solr 4.1 will have a ton of fixes. Otis -- SOLR Performance Monitoring -

Re: Solrcloud and Node.js

2012-12-15 Thread Luis Cappa Banda
in node.js * use GWT to compile CloudSolrServer to javascript (I would imagine it will be hard to make it work though) Regards, Per Steffensen Luis Cappa Banda skrev: Hello! I've always used Java as the backend language to program search modules, and I know that CloudSolrServer

Re: Solrcloud and Node.js

2012-12-15 Thread Luis Cappa Banda
JSON format. Do you know how to get it status? Any request handler or Solr query? Maybe checking directly from Zookeeper? Best regards, - Luis Cappa. 2012/12/15 Per Steffensen st...@designware.dk Luis Cappa Banda skrev: Do you know if SolrCloud replica shards have 100% the same data

Re: Solrcloud and Node.js

2012-12-14 Thread Luis Cappa Banda
it with the new state. A dumb client won't be able to optimize some updates to leaders. It's still a perfectly reasonable option to not use a 'smart' client though. - Mark On Dec 14, 2012, at 3:09 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hello! I've always used Java as the backend

SolrCloud: CloudSolrServer Zookeeper disconnects and re-connects with heavy memory usage consumption.

2012-12-12 Thread Luis Cappa Banda
Hello everyone. I have developed and stand alone WebApp with a custom API that dispatches queries to SolrCloud using CloudSolrServer implementation to do that. I´m testing with a single Zookeeper instance installed in an Amazon instance. Solr servers are deployed in two Amazon instances and I

Re: SolrCloud: CloudSolrServer Zookeeper disconnects and re-connects with heavy memory usage consumption.

2012-12-12 Thread Luis Cappa Banda
to load, network lag, or garbage collection pauses. Some environments might need to go as high as 30-60 seconds. Any suggestion or recommendation? What about increasing tickTime to 10 seconds with zkClientTimeout = 30 seconds? 2012/12/12 Luis Cappa Banda luisca...@gmail.com Hello everyone

SolrCloud and MoreLikeThis: SOLR-788

2012-11-27 Thread Luis Cappa Banda
Hello, guys. Does anyone tested the latest SOLR-788https://issues.apache.org/jira/browse/SOLR-788 MLT patch with Solr 4.0? It´s a very important Sorl feature that I would like to have in a SolrCloud environment. I use Eclipse as IDE, and I´m familiarized with Maven so it looks like I´ll spend

Re: SolrCloud and MoreLikeThis: SOLR-788

2012-11-27 Thread Luis Cappa Banda
I´ve recently patched Solr 4.0 tag but it exists a conflict with PURPOSE_GET_MLT_RESULTS final static attributed in ShardRequest.java. The thing is that it doesn´t exist, :-/ Any tips? Regards, - Luis Cappa. 2012/11/27 Luis Cappa Banda luisca...@gmail.com Hello, guys. Does anyone tested

SolrCloud: trying to use eDismax instead of MoreLikeThis.

2012-11-27 Thread Luis Cappa Banda
Hello, guys. How are you? MoreLikeThis doesn´t support Distributed searchs, so I think that I could emulate a similar behaviour with eDismax features. What I´ll like to do is: *1. *I have two fields that contains important information from the document. This two fields will be used to relate

Re: SolrCloud: trying to use eDismax instead of MoreLikeThis.

2012-11-27 Thread Luis Cappa Banda
Erratum: at the end of the previous mail I meant that Edismax *isn´t *as quick as desired, :-) Regards, - Luis Cappa. 2012/11/27 Luis Cappa Banda luisca...@gmail.com - Edismax is as quick as desired. I finally I bet for that solution, I would like to improve performance. Again I´m opened

Re: SolrCloud and MoreLikeThis: SOLR-788

2012-11-27 Thread Luis Cappa Banda
and setting a new constant to Solr code sounds a little bit, errr... unsafe, :-P I´ll try tomorrow. Regards, - Luis Cappa. 2012/11/27 Mark Miller markrmil...@gmail.com Add it? - Mark On Nov 27, 2012, at 6:33 AM, Luis Cappa Banda luisca...@gmail.com wrote: I´ve recently patched Solr 4.0 tag

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-25 Thread Luis Cappa Banda
Cappa. 2012/11/22 Luis Cappa Banda lt; luiscappa@ gt; For more details, my indexation App is: 1. Multithreaded. 2. NRT indexation. 3. It´s a Web App with a REST API. It receives asynchronous requests that produces those atomic updates / document reindexations I told before

Re: Finding max value from a fieldvalue using solr query

2012-11-24 Thread Luis Cappa Banda
Hello. You can query by *:* with start=0, rows=1, fl=contentid and sorting by contentid. Get the bigger/smaller value for that field is from the first (and only) document returned. Regards, - Luis Cappa. El 24/11/2012 14:45, Jack Krupansky j...@basetechnology.com escribió: The stats

Re: SolrCloud and external Zookeeper ensemble

2012-11-22 Thread Luis Cappa Banda
Hello, I´ve been dealing with the same question these days. In architecture terms, it´s always better to separate services (Solr and Zookeeper, in this case) rather to keep them in a single instance. However, when we have to deal with costs issues, all of use we are quite limitated and we must

Re: How to get a list of servers per collection in sorlcloud using java api?

2012-11-22 Thread Luis Cappa Banda
Hello, Joe. Try something like this using SolrJ library: String endpoints[] = // your Solr server endpoints. Example: http://localhost:8080/solr/core1 String zookeeperEndpoints = // your Zookeeper endpoints. Example: localhost:9000 String collectionName = // Your collection name. Example: core1

Re: How to get a list of servers per collection in sorlcloud using java api?

2012-11-22 Thread Luis Cappa Banda
Hello, As far as I know, you cannot do that at the moment, :-/ Regards, - Luis Cappa. 2012/11/22 joe.cohe...@gmail.com joe.cohe...@gmail.com Thanks Rakudten. I had my question mis-phrased. What I need is being able to get the solr servers storing a collection by giving the zookeeper

SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Luis Cappa Banda
Hello everyone. I´ve starting to seriously worry about with SolrCloud due an strange behavior that I have detected. The situation is this the following: *1.* SolrCloud with one shard and two Solr instances. *2.* Indexation via SolrJ with CloudServer and a custom BinaryLBHttpSolrServer that uses

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Luis Cappa Banda
though you were able to work around the bug in the client solr still uses the xml format internally so the atomic update (with multivalued field) fails later down the stack. The bug you filed needs to be fixed to get the problem solved. On Thu, Nov 22, 2012 at 8:19 PM, Luis Cappa Banda luisca

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Luis Cappa Banda
: the leader might have the doc right and the replica not. I only briefly looked at the bits that deal with this so perhaps there's something more involved. On Thu, Nov 22, 2012 at 8:29 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hi, Sami! But isn´t strange that some documents were

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Luis Cappa Banda
and with the fact that maybe you are trying to modify the index while an index update is in course. Regards, - Luis Cappa. 2012/11/22 Luis Cappa Banda luisca...@gmail.com Hello! I´m using a simple test configuration with nShards=1 without any replica. SolrCloudServer is suposed to forward

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Luis Cappa Banda
the document wasn´t updated. Bad news... it smells like a critical bug. Regards, - Luis Cappa. 2012/11/22 Luis Cappa Banda luisca...@gmail.com For more details, my indexation App is: 1. Multithreaded. 2. NRT indexation. 3. It´s a Web App with a REST API. It receives asynchronous requests

Re: Pls help: Very long query - what to do?

2012-11-21 Thread Luis Cappa Banda
Hello, Do not forget to increase maxBooleanClauses. Regards, - Luis Cappa. 2012/11/21 uwe72 uwe.clem...@exxcellent.de i am using tomcat -- View this message in context: http://lucene.472066.n3.nabble.com/Pls-help-Very-long-query-what-to-do-tp4021606p4021620.html Sent from the Solr -

Re: Inconsistent search results.

2012-11-21 Thread Luis Cappa Banda
Hello! I suggest you to try PatternTokenizer with a regex that includes . and blank spaces, for example, in Query and Index analyzers for that fieldType. The expression will be tokenized by that regex expression and you will success querying. Unfortunately, you will have to reindex all if you

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-20 Thread Luis Cappa Banda
(requestWriter); return solrServer; } } On 15 November 2012 16:43, Luis Cappa Banda luisca...@gmail.com wrote: Yes, my first attemp was with a ListString, but it didn´t work. Then I started to try another ways such as a String[] array with no success. Regards, - Luis Cappa

SolrCloud: CloudSolrServer Zookeeper error.

2012-11-20 Thread Luis Cappa Banda
Hello everyone, I have developed a NRT Java app that indexes documents using a CloudSolrServer instance. During my tests I have a SolrCloud composed by only one shard and two Solr server instances. During the several tests I did found just in one case the following error: * * *12-11-20

Re: SolrCloud: CloudSolrServer Zookeeper error.

2012-11-20 Thread Luis Cappa Banda
Cappa Banda luisca...@gmail.com wrote: Hello everyone, I have developed a NRT Java app that indexes documents using a CloudSolrServer instance. During my tests I have a SolrCloud composed by only one shard and two Solr server instances. During the several tests I did found just in one

Re: Execute an independent query from the main query

2012-11-18 Thread Luis Cappa Banda
Hello! When queries become more and more complex and you need to apply one second query with the resultant docs from the first one, or re-sort results, or maybe add some promotional or special docs to the response, I recommend to develop a Web App module that implements that complex business

SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
Hello everyone, I´ve tested atomic updates via Ajax calls and now I´m starting with atomic updates via SolrJ... but the way I´m proceeding doesn´t seem to work well. Here is the snippet: *SolrInputDocument do = ne SolrInputDocument();* *doc.addField(id, myId);* * * *MapString, ListString

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
[Value1, Value2]. In other words, SolrJ is internally executing a toString() operation to the ListSring. Is impossible to update atomically a multivalued field with a List of values in just one atomic update operation? Regards, - Luis Cappa. 2012/11/15 Luis Cappa Banda luisca...@gmail.com

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
Hello, Sami. It will be the first issue that I open so, should I create it under Solr 4.0 version or in Solr 4.1.0 one? Thanks, - Luis Cappa. 2012/11/15 Sami Siren ssi...@gmail.com On Thu, Nov 15, 2012 at 11:51 AM, Luis Cappa Banda luisca...@gmail.com wrote: Thread update: When I use

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
Ok, done: https://issues.apache.org/jira/browse/SOLR-4080 Regards, - Luis Cappa. 2012/11/15 Luis Cappa Banda luisca...@gmail.com Hello, Sami. It will be the first issue that I open so, should I create it under Solr 4.0 version or in Solr 4.1.0 one? Thanks, - Luis Cappa. 2012/11/15

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
with the xml format (4.1 branch). Still it's annoying that the two request writers behave differently so I guess it's worth adding the jira anyway. The Affects version should be 4.0. On Thu, Nov 15, 2012 at 1:42 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hello, Sami

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
*. - I´m using Java jdk6. Alternatives: - I´m doing something wrong and I´m so stupid that I can´t see it, :-( - The way I update fields is not the correct one. - There is a general bug with atomic updates via SolrJ. Regards, - Luis Cappa. 2012/11/15 Luis Cappa Banda luisca

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
, Nov 15, 2012 at 3:58 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hi, Sami. Doing some tests I´ve used the same code as you and did a quick execution: *HttpSolrServer server = new HttpSolrServer( http://localhost:8080/solrserver/core1 http://localhost:10080/newscover_es/items_es

CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Luis Cappa Banda
Hello, I´ve found what It seems to be a bug JIRA-SOLR4080https://issues.apache.org/jira/browse/SOLR-4080?focusedCommentId=13498055page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13498055 with CloudSolrServer during atomic updates via SolrJ. Thanks to Sami I

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Luis Cappa Banda
when you use that even without specifying reguest-/response writer. -- Sami Siren On Thu, Nov 15, 2012 at 4:56 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hello, I´ve found what It seems to be a bug JIRA-SOLR4080 https://issues.apache.org/jira/browse/SOLR-4080?focusedCommentId

Latin characters encoding. Example: letter ñ.

2012-11-07 Thread Luis Cappa Banda
Hello! I´ve got some encoding problems with my currently new analyzer configuration. I´ve deployed a Solr server in Apache Tomcat setting Tomcat´s encoding to UTF-8 in server.xml. Also Solr´s encoding is setted to UTF-8 in schema.xml. I have defined a fieldType like the following: *fieldType

Re: Latin characters encoding. Example: letter ñ.

2012-11-07 Thread Luis Cappa Banda
! 2012/11/7 Luis Cappa Banda luisca...@gmail.com Hello! I´ve got some encoding problems with my currently new analyzer configuration. I´ve deployed a Solr server in Apache Tomcat setting Tomcat´s encoding to UTF-8 in server.xml. Also Solr´s encoding is setted to UTF-8 in schema.xml. I have

Re: About solr fields (dynamic query)

2012-11-07 Thread Luis Cappa Banda
Hello! In my opinion, you are trying to use Solr as a complete and classic database but the thing is that the best scenario where Solr rocks is just for fast search data access. Thus, you just should index those data candidate to be searched for. My personal suggestion is that you think about how

Re: SolrCloud Tomcat configuration: problems and doubts.

2012-11-06 Thread Luis Cappa Banda
Forward to solr-user mailing list. We forgot to reply to it, :-/ 2012/11/5 Luis Cappa Banda luisca...@gmail.com Hello, Mark! I´ve been testing more and more and things are going better. I have tested what you told me about -Dbootstrap_conf=true and works fine, but the problem is that if I

Re: Does SolrCloud supports MoreLikeThis?

2012-11-05 Thread Luis Cappa Banda
team though! brbrbr--- Original Message --- On 11/5/2012 10:37 AM Luis Cappa Banda wrote:brThat´s the question, :-) br brRegards, br brLuis Cappa. br

Re: index solr using jquery AJAX

2012-11-02 Thread Luis Cappa Banda
Hello, In that case try again with a JSON array and check if: 1. The request arrives to Solr server. In that case, copypaste the log traces here. 2. The request is never executed. Analyze with Firebug in your browser. Regards, Luis Cappa. 2012/11/2 amit amit.mal...@gmail.com Hi Luis

Re: SolrCloud Tomcat configuration: problems and doubts.

2012-11-02 Thread Luis Cappa Banda
markrmil...@gmail.com A big difference if you are using tomcat is that you still need to specify jetty.port - unless you change the name of that sys prop in solr.xml. Some more below: On Wed, Oct 31, 2012 at 2:09 PM, Luis Cappa Banda luisca...@gmail.com wrote: Hello! How are you?I

  1   2   >