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 that

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

2015-05-14 Thread Luis Cappa Banda
, 2015 at 12:49 PM, Luis Cappa Banda > 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.

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

2015-05-14 Thread Luis Cappa Banda
nces between them are: - Regular expression: i18n* VS *_facet - Multivalued: *_facet are multivalued. Regards, - Luis Cappa 2015-05-14 18:32 GMT+02:00 Yonik Seeley : > On Thu, May 14, 2015 at 10:47 AM, Luis Cappa Banda > wrote: > > Hi Yonik, > > > > Yes, they are the tar

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

2015-05-14 Thread Luis Cappa Banda
xplicitly set values and copyField values in the same > field. > > -Yonik > > On Thu, May 14, 2015 at 7:17 AM, Luis Cappa Banda > wrote: > > Hi there, > > > > I have the following dynamicFields definition in my schema.xml: > > > > > > > > > >

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 : > 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 ar

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: I' ve seen that when fetching documents with /select?q=id:whateverId, the results returned include both i18n* and *_facet fields filled. However, when using real-time request handler (/get?ids:whateverIds) the resul

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

2014-03-12 Thread Luis Cappa Banda
le? Thanks in advance! Best, 2014-03-12 12:10 GMT+01:00 Luis Cappa Banda : > 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. If that&#

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

2014-03-12 Thread Luis Cappa Banda
ectoryReader or FSDirectoyReader) that always read the current segments when a commit happens? 2014-03-12 11:35 GMT+01:00 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

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 fil

Re: Optimize and replication: some questions battery.

2014-02-06 Thread Luis Cappa Banda
cipal worry 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 : > On Thu, 2014-02-06 at 10:22 +0100, Luis Cappa Banda wrote: > > I knew some performance tips to improve search and I c

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 (2) to boost search operations instead of indexation ones. I haven't got a deep knowledge of internal Lucene behavior in this case, but

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: * * Copied from this one: * * * * ** * * * * * * * * * * * * * * ** When faceting with *tagValues* field I've got a total count of 3:

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 > Hi, > > In lucene you are supossed to be able to index up to 274 billion documents > ( http://l

Re: Replication: slow first query after replication.

2013-11-05 Thread Luis Cappa Banda
Against --> again, :-) 2013/11/5 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 n

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 appear

Re: Spellcheck with Distributed Search (sharding).

2013-10-24 Thread Luis Cappa Banda
; James Dyer > Ingram Content Group > (615) 213-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).

Re: Spellcheck with Distributed Search (sharding).

2013-10-24 Thread Luis Cappa Banda
Any idea? 2013/10/23 Luis Cappa Banda > More info: > > When executing the Query to a single Solr server it works: > http://solr1:8080/events/data/suggest?q=m&wt=json<http://solrclusterd.buguroo.dev:8080/events/data/suggest?q=m&wt=json> > > { > >- resp

Re: Spellcheck with Distributed Search (sharding).

2013-10-23 Thread Luis Cappa Banda
t=/sugges*t&wt=json&q=*:*<http://solrclusterd.buguroo.dev:8080/events/data/select?qt=/suggest&wt=json&q=*:*> 2013/10/23 Luis Cappa Banda > Hello! > > I'be been trying to enable Spellchecking using sharding following the > steps from

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"> suggest org.apache.solr.spelling.suggest.Suggester org.apache.solr.spelling.sug

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 i

Re: EmbeddedSolrServer Solr 4.4.0 bug?

2013-07-31 Thread Luis Cappa Banda
ably need to put 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 > > Em

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 Emb

Re: Performance question on Spatial Search

2013-07-30 Thread Luis Cappa Banda
ferent field) is > field:[* TO *]. > > ~ David > > On 7/30/13 4:44 PM, "Luis Cappa Banda" 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. Jus

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: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
owever, it may be possible to create a field called 'flagEmails' that will be true if the field 'emails' is filled via UAX29URLEmailTokenizerFactory. Does anyone implemented during index-time this kind of behavior? Is it possible? Regards, 2013/7/30 Luis Cappa Banda > I

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 > On Jul 30, 2013, at 22:05 , Luis Cappa Banda wr

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
/select?q=emails:[* TO *]&start=0&rows=10&sort=mydate desc And I don´t like it, to be honest, Regards, 2013/7/30 Luis Cappa Banda > Hello, Jack, Steve, > > Thank you for your answers. I´ve never used UAX29URLEmailTokenizerFactory, > but I´ve read about it before trying Reg

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
at you're trying to reinvent 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! > > Unfort

Email regular expression.

2013-07-30 Thread Luis Cappa Banda
Hello everyone! Unfortunately I have to search all E-mail addresses found in a text field from each document. I've been reading for a while how to use RegExp's in Solr, but after trying some of them they didn't work. I've noticed that Lucene RegExp syntax sometimes is very different from the class

Re: Distributed query: strange behavior.

2013-05-27 Thread Luis Cappa Banda
parameter. Has anyone experienced the same? Best regards, - Luis Cappa 2013/5/27 Luis Cappa Banda > 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

Re: Distributed query: strange behavior.

2013-05-26 Thread Luis Cappa Banda
y 24, 2013 at 9:09 AM, Valery Giner > wrote: > > Shawn, > > > > How is it possible for more than one document with the same unique key to > > appear in the index, even in different shards? > > Isn't it a bug by definition? > > What am I missing here? > >

Re: Distributed query: strange behavior.

2013-05-24 Thread Luis Cappa Banda
/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

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* &&shards=localhost:11080/twitter/data,loc

Re: Quick SolrJ query how-to question.

2013-05-15 Thread Luis Cappa Banda
00342/using-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 wrote: > > On 5/14/2013 3:13 AM, Luis Cappa Banda wrote: > >> I know that, but I

Re: Quick SolrJ query how-to question.

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

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
ake a http request use the > complete query string. > > 2013/5/14 Luis Cappa Banda > > > 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 t

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
end URL 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.) embe

Re: Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
/lucene.apache.org/solr/4_2_1/solr-solrj/org/apache/solr/client/solrj/SolrQuery.htmlto > see more details about SolrQuery. > > > 2013/5/14 Luis Cappa Banda > > > Hello, guys! > > > > I would like to do something like this. Let's suppose we have: > > >

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=0&rows=20&sort=date%20desc";* * * *SolrQuery solrQuery = new SolrQuery();* *solrQuery.setQuery(query);* * * *server.query(solrQuery);* * * *(...)* I tried that and it fails

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
data into a format that does have a simple, flat > data model. > > -- 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

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 an

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

2013-03-20 Thread Luis Cappa Banda
w documents per second first.*** Adding > more threads at this point is probably not going to help. > > Michael Della Bitta > > > Appinions > 18 East 41st Street, 2nd Floor > New York, NY 10017-6271 > > www.appinions.com >

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

2013-03-19 Thread Luis Cappa Banda
a, but I haven't spotted one > which tells how. > > Thanks > Jack > > On Fri, Mar 15, 2013 at 1:01 PM, Mark Miller > 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. > > > &g

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

2013-03-15 Thread Luis Cappa Banda
2013 at 1:01 PM, Mark Miller > 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 > wrote: > > > >&g

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

2013-03-15 Thread Luis Cappa Banda
/14 Luis Cappa Banda > Hello! > > Thanks a lot, Erick! I've attached some stack traces during a normal > 'engine' running. > > Cheers, > > - Luis Cappa > > > 2013/3/13 Erick Erickson > >> Stack traces.. >> >> First, >> jps -

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

2013-03-14 Thread Luis Cappa Banda
gt; > jstack > > 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 >wrote: > > > Uhm, how can I do that... 'cleanly'? I know that with JConsole it´s > posible >

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

2013-03-13 Thread Luis Cappa Banda
rror(e); } return added; } } Thank you very much, Mark. - Luis Cappa And 2013/3/13 Mark Miller > > 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

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 > Hello, guys! > > I´ve been experiencing some annoying behavior with my current production > scenario. Here is the snapshot: > > >- SolrCloud: 2 shards >- Zookeeper ensemble: 3 node

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 zoo.

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. O

Re: Solr 4.1: problems with Spatial Search.

2013-03-09 Thread Luis Cappa Banda
esday, March 6, 2013 11:48 AM > To: "Smiley, David W." mailto:dsmi...@mitre.org>> > Subject: Re: Solr 4.1: problems with Spatial Search. > > I´ve doing some performance tests and I´ve noticed that with the new query > syntax that David told me to use the QTime incr

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
neConstFunction.java:168) >> > at >> > >> org.apache.solr.search.function.distance.HaversineConstFunction.access$200(HaversineConstFunction.java:47) >> > at >> > >> org.apache.solr.search.function.distance.HaversineConstFunction$1.parse(Haversine

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
) > > at > > > org.apache.solr.search.FunctionQParser.parseValueSource(FunctionQParser.java:352) > > at org.apache.solr.search.FunctionQParser.parse(FunctionQParser.java:68) > > at org.apache.solr.search.QParser.getQuery(QParser.java:142) > > at org.apache.solr.search

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
unction works at all? > > > > : Date: Tue, 5 Mar 2013 19:30:33 +0100 > : From: Luis Cappa Banda > : 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 perfect

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 copy&pasted, :-( El 05/03/2013 19:05, "David Smiley (@MITRE.org)" escribió: > Hmm; weird. It looks right. Does it work without the sort? -- i.e. does > the > filter work? Are there more interesting lookin

Re: Solrcloud 4.1 Cluster state NullPointerException error.

2013-01-30 Thread Luis Cappa Banda
/30 Luis Cappa Banda > 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 - upda

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 > CloudSolrServer can be used for indexing and is smart about indexing since > it knows the current clus

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 > 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 - http://sematext.com/spm/index.html > Sear

Re: Solrcloud and Node.js

2012-12-15 Thread Luis Cappa Banda
it in raw 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 > Luis Cappa Banda skrev: > > Do you know if SolrCloud replica shards have 100% the same data as the &

Re: Solrcloud and Node.js

2012-12-15 Thread Luis Cappa Banda
lt;https://github.com/nearinfinity/node-java>to > embed CloudSolrServer 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! >>

Re: Solrcloud and Node.js

2012-12-14 Thread Luis Cappa Banda
u are using a load balancer you will have to update 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

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

2012-12-12 Thread Luis Cappa Banda
a lot of false session timeouts due 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

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 have

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 > Add it? > > - Mark > > On Nov 27, 2012, at 6:33 AM, Luis Cappa Banda wrote: > > > I´ve recently patched Solr 4.0

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 > - Edismax is as quick as desired. I finally I bet for that solution, I > would like to improve performance. Again I´m opened to he

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 cont

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 > Hello, guys. > > Does anyone tested t

SolrCloud and MoreLikeThis: SOLR-788

2012-11-27 Thread Luis Cappa Banda
Hello, guys. Does anyone tested the latest 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 o

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

2012-11-25 Thread Luis Cappa Banda
> > *RESULT*: in most cases the document wasn´t updated. Bad news... it > smells > > like a critical bug. > > > > Regards, > > > > > > - Luis Cappa. > > > > 2012/11/22 Luis Cappa Banda < > > > luiscappa@ > > > > > > > >>

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" escribió: > The "stats" component will give you the

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

2012-11-22 Thread Luis Cappa Banda
document wasn´t updated. Bad news... it smells like a critical bug. Regards, - Luis Cappa. 2012/11/22 Luis Cappa Banda > 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 &

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

2012-11-22 Thread Luis Cappa Banda
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 > Hello! > > I´m using a simple test configuration with nShards=1 without any replica. > SolrCloudServer is suposed to forward pr

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

2012-11-22 Thread Luis Cappa Banda
ge: 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 >wrote: > > > Hi, Sami! > >

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

2012-11-22 Thread Luis Cappa Banda
ere 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

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 B

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 > 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 server as an input.

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: 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 ele

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 ch

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 > 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 - User mailing list

Re: SolrCloud: CloudSolrServer Zookeeper error.

2012-11-20 Thread Luis Cappa Banda
Thanks, Mark! I´ll try tunning timeout settings and then check out if everything is allright. Regards, - Luis Cappa. 2012/11/20 Mark Miller > Take a look at the FAQ for SolrCloud: > http://wiki.apache.org/solr/SolrCloud#FAQ > > - Mark > > On Nov 20, 2012, at 7:00 AM

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 12:54:03,6

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-20 Thread Luis Cappa Banda
eServer(String server) throws > MalformedURLException { > HttpSolrServer solrServer = super.makeServer(server); > solrServer.setRequestWriter(requestWriter); > return solrServer; > } > } > > > On 15 November 2012 16:43, Luis Cappa Banda wrote: > > > Y

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 logic

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Luis Cappa Banda
you use that even without specifying reguest-/response writer. > > -- > Sami Siren > > > On Thu, Nov 15, 2012 at 4:56 PM, Luis Cappa Banda >wrote: > > > Hello, > > > > I´ve found what It seems to be a bug > > JIRA-SOLR4080< > > > https:

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-SOLR4080 with CloudSolrServer during atomic updates via SolrJ. Thanks to Sami I detec

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
> > On Thu, Nov 15, 2012 at 3:58 PM, Luis Cappa Banda >wrote: > > > Hi, Sami. > > > > Doing some tests I´ve used the same code as you and did a quick > execution: > > > > > > *HttpSolrServer server = new HttpSolrServer(" > > ht

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
not the correct one. - There is a general bug with atomic updates via SolrJ. Regards, - Luis Cappa. 2012/11/15 Luis Cappa Banda > I´ll have a look to Solr source code and try to fix the bug. If I succeed > I´ll update JIRA issue with it, :-) > > > 2012/11/15 Sami Siren &g

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
> 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 >wrote: > > > Hello

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 > 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 Capp

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 > On Thu, Nov 15, 2012 at 11:51 AM, Luis Cappa Banda >wrote: > > > Thread update: > > > > When I

Re: SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
ue2]". In other words, SolrJ is internally executing a toString() operation to the List. 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 > Hello everyone, > > I´ve t

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");* * * *Map> operation = new HashM

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: Latin characters encoding. Example: letter "ñ".

2012-11-07 Thread Luis Cappa Banda
ery common. Goodbye! 2012/11/7 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 >

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: ** * * * *

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 > 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

Re: Does SolrCloud supports MoreLikeThis?

2012-11-05 Thread Luis Cappa Banda
t; the dev team though! > > --- Original Message --- > On 11/5/2012 10:37 AM Luis Cappa Banda wrote:That´s the question, :-) > > Regards, > > Luis Cappa. > >

  1   2   >