Quick SolrJ query how-to question.

2013-05-14 Thread Luis Cappa Banda
..)* I tried that and it fails. My question is: is it possible to define a SolrQuery with the complete REST encoded query String without parsing manually all the query parameters and using SolrQuery methods to set them? Regards, -- - Luis Cappa

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

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

Distributed query: strange behavior.

2013-05-23 Thread Luis Cappa Banda
x27;s happening here? Anybody knows? It's a distributed search bug or something? Thank you very much in advance! Best regards, -- - Luis Cappa

Re: Distributed query: strange behavior.

2013-05-24 Thread Luis Cappa Banda
ind of bad behavior. However, that would be very useful if can Solr alert about duplicate keys or something. Maybe an extra parameter included as a field in the response plus numFound, docs, facets, etc. would be nice. Thank you very much! Best regards, - Luis Cappa 2013/5/23 Shawn Heisey > On 5

Re: Distributed query: strange behavior.

2013-05-26 Thread Luis Cappa Banda
uted search query is executed by it's key to retrieve *_shard_* field. With *_shard_* field we can now choose the correct shard (*HttpSolrServer*). It's not a good practice and performance isn't the best, but it's secure. Best Regards, - Luis Cappa 2013/5/26 Erick Erickson

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

Solr 1.4.1: problems with replication and index operation both at the same time.

2011-09-05 Thread Luis Cappa Banda
Hello. I have the suspicion that while the replication is in process from a batch machine to N slaves machines I have performance problems: read timed out exceptions, etc. The thing is that I have deployed a real time environment where the batch machine recieves petitions, process them and then in

Re: Solr 1.4.1: problems with replication and index operation both at the same time.

2011-09-06 Thread Luis Cappa Banda
Hello, Erik. Thank you for answering. The performance decreases during indexing: while replication is in process the batch machine could not recieve and process quickly the indexing petitions and some "read timed out" exceptions appear. Luckily I just load some hundreds of documents every day beca

Re: Solr 1.4.1: problems with replication and index operation both at the same time.

2011-09-07 Thread Luis Cappa Banda
Hello, Erik. Thank you for answering again. I'm using Java JDK 1.5 and an Apache Tomcat 1.6 configuring it's memory parameters from 1G to 2G maximum for each Tomcat server. The machine has a RAID5 HDD, 32G RAM and eight cores, and I have six Tomcat launched with their process running at the same t

Re: Solr 1.4.1: problems with replication and index operation both at the same time.

2011-09-07 Thread Luis Cappa Banda
Excuse me, I mean an Apache Tomcat 6.

Re: Out of memory

2011-09-16 Thread Luis Cappa Banda
recommend you to check again the query and to test it usingcaching and fq parameters in it. Probably you´ll get better Qtime results. Luis Cappa.

Backup with lukeall XMLExporter.

2011-10-05 Thread Luis Cappa Banda
Hello. I´ve been looking for information trying to find an easy way to do index backups with Solr and I´ve readed that lukeall has an application called XMLExporter that creates a XML dump from a lucene index with it´s complete information. I´ve got some questions about this alternative: *1. *Do

Re: Backup with lukeall XMLExporter.

2011-10-05 Thread Luis Cappa Banda
Hello, Andrzej. First of all thanks for your help. The thing is that I´m not using Lucene: I´m using Solr to index (well, I know that it envolves Lucene). I know about Solr replication, but the index is being modify in real time includying new documents with new petitions incoming. In resume, from

Re: EmbeddedSolr + Http?

2011-10-08 Thread Luis Cappa Banda
EmbeddedSolrServer because it´s quicker, and if you need external access via Http use CommonHttpSolrServer for searching. If you don´t need Http just use EmbeddedSolrServer for both indexing and searching. It depends on your architecture. Goodbye. Luis Cappa.

Solr scraping: Nutch and other alternatives.

2011-10-17 Thread Luis Cappa Banda
you give me any scraping suggestion? Thank you very much. Luis Cappa.

Re: Solr scraping: Nutch and other alternatives.

2011-10-19 Thread Luis Cappa Banda
Hello Marco, Markus and Óscar. Thank you very much for your answers. What you suggest, Óscar, sounds very interesting. I mean the alternative that covers data mining with any 'popular searcher'. Do you know any tutorial or book that can teach me the first steps? Bye!

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-20 Thread Luis Cappa Banda
help to others to solve this very big problem. Regards, - Luis Cappa. 2012/11/16 Sandopolus > There is a way to make CloudSolrServer use LBHttpSolrServer with the > BinaryRequestWriter > that is quite simple as i have had to work around this very problem. > > Create a new clas

SolrCloud: CloudSolrServer Zookeeper error.

2012-11-20 Thread Luis Cappa Banda
advance. Regards, -- - Luis Cappa

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

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

Re: Inconsistent search results.

2012-11-21 Thread Luis Cappa Banda
all if you change your schema. Regards, - Luis Cappa El 21/11/2012 19:13, "Jack Krupansky" escribió: > Try the Solr Admin Analysis page and see how your failing examples analyze > for both index and query. > > Also, if you experiment with analyzer settings, be sure to FULLY

Re: SolrCloud and external Zookeeper ensemble

2012-11-22 Thread Luis Cappa Banda
architecture is not the best one, as I told you, but I think that is optimal in terms of robustness, single point of failure and costs. It would be a pleasure to hear new suggestions from other people that dealed with this kind of issues. Regards, - Luis Cappa. 2012/11/21 Marcin Rzewucki > Yes

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

2012-11-22 Thread Luis Cappa Banda
new document, delete, update, etc. Regards, - Luis Cappa. 2012/11/22 joe.cohe...@gmail.com > I want to write a function that will go thorugh all the servers that store > a > specific collection and perform a tsk on it, suppose RELOAD CORE task. > How can I get a list of all solr

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

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

2012-11-22 Thread Luis Cappa Banda
e executed correctly* *and without errors*. Has anyone experienced a similar behavior? Is it posible that if an index update operation didn´t finish and CloudSolrServer receives a new one this second update operation doesn´t complete? Thank you in advance. Regards, -- - Luis Cappa

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

2012-11-22 Thread Luis Cappa Banda
Hi, Sami! But isn´t strange that some documents were updated (atomic updates) correctly and other ones not? Can´t it be a more serious problem like some kind of index writer lock, or whatever? Regards, - Luis Cappa. 2012/11/22 Sami Siren > I think the problem is that even though you w

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

2012-11-22 Thread Luis Cappa Banda
BinaryLBHttpSolrServer, and it dosn´t work. I think is not just a bug related with atomic updates via CloudSolrServer but a general bug when an index changes with reindexations/updates frequently. Regards, - Luis Cappa. 2012/11/22 Sami Siren > It might even depend on the cluster layout! Let's

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

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

2012-11-25 Thread Luis Cappa Banda
Yes! I opened that issue, :-P Next week I'll test with the latest trunk artifacts and check if the problem still happens. Regards, - Luis Cappa. El 25/11/2012 13:35, "joe.cohe...@gmail.com" escribió: > > I'm having a smiliar problem. > > Did you by any chance tr

SolrCloud and MoreLikeThis: SOLR-788

2012-11-27 Thread Luis Cappa Banda
spend one or two days configuring a dev environment to apply the patch and compile de code with Ant, Ivy, etc.. Before doing that 'effort' I would like to know if everyone applied this patch before and if the result was good. Thank you very much! Regards, -- - Luis Cappa

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: trying to use eDismax instead of MoreLikeThis.

2012-11-27 Thread Luis Cappa Banda
. Again I´m opened to hear any suggestion, recommendation... to improve it. Thank you very much -- - Luis Cappa

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

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

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

2012-12-12 Thread Luis Cappa Banda
-consumer and also blocking. Does anyone experienced a behavior like that? Any tips or suggestions? Thank you very much in advance for your help. Regards, -- - Luis Cappa

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

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 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-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: Solr Cloud 4.0 Production Ready?

2012-12-18 Thread Luis Cappa Banda
. > > > > Should we wait for 4.1 release for production or we can go ahead with the > > current release? > > > > Regards, > > Ayush > > > > > > > -- - Luis Cappa

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

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

Re: Solr 4.1: problems with Spatial Search.

2013-03-05 Thread Luis Cappa Banda
al times the documentation and it seems that this is the > > correct way to search filtering by coordinates and sorting by distance, > > but > > I doesn´t work. Any suggestions? > > > > Also I´ve tried to return the distance as a field via fl params, but I > > couldn´

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
ponse. Thank you very much. Regards, - Luis Cappa 2013/3/5 Chris Hostetter > > 1) which version of solr are you using? > 2) what is the field & fieldtype for "geolocation" > 2) can you try changing your query to "q={!func}geodist()" to verify that > the f

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
Hey David, it works! Thank you very much. The true is that the docummentation is a little bit confusing, but know It works perfectly. Regards, - Luis Cappa 2013/3/6 David Smiley (@MITRE.org) > Ah; bingo! > > The top error in the log is what Solr reports in the HTTP response you >

Re: Solr 4.1: problems with Spatial Search.

2013-03-06 Thread Luis Cappa Banda
I´ve doing some performance tests and I´ve noticed that with the new query syntax that David told me to use the QTime increases a lot. I´ve got an index with up to 8 million docs and sometimes the query response delays three, four or more seconds until finishes. Is that normal? 2013/3/6 Luis

Re: Solr 4.1: problems with Spatial Search.

2013-03-09 Thread Luis Cappa Banda
lternatives technologies/tools/dbs like MongoDB. Any suggestions or recommendations? Best regards, - Luis Cappa 2013/3/6 David Smiley (@MITRE.org) > Luis, > I should have asked how much data you have when I offered the solution. > > If you have a multi-valued spatial field

Re: Solr 4.1: problems with Spatial Search.

2013-03-12 Thread Luis Cappa Banda
. One last question! The "d" parameter aswell as the "score" are measured in degrees, right? Thank you very much for your feedback. Regards, - Luis Cappa 2013/3/9 David Smiley (@MITRE.org) > Rakudten wrote > > Hello again! > > > > Uhm, so if I have unders

SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
art Zookeeper one by one, and I restart SolrCloud, plus I restart the engine, the problem is solved. I´m using Amazon AWS as hostage, so I discard connection problems between instances. Does anyone experienced something similar? Can anybody shed some light on this problem? Thank you very much.

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

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-14 Thread 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 -l > > that will give you a the process IDs of your running Java processes. Then: &

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

A sorting question.

2012-03-02 Thread Luis Cappa Banda
stion? Thanks a lot! Luis Cappa.

Re: A sorting question.

2012-03-02 Thread Luis Cappa Banda
The only reference I found is: http://stackoverflow.com/questions/5753079/solr-query-without-order Anyone had the same problem? Maybe using a dynamic field could solve this issue? Thanks! Luis Cappa. 2012/3/2 Luis Cappa Banda > Hello! > > Just a brief question. I'm querying

Re: A sorting question.

2012-03-03 Thread Luis Cappa Banda
much! Luis Cappa.

Re: A sorting question.

2012-03-05 Thread Luis Cappa Banda
Sometimes the solution is so easy that I can't see it in front of me. Thanks, Mikhail! 2012/3/3 Mikhail Khludnev > Hi Luis, > > Do you mean > > q=id:(A^10+OR+B^9+OR+C^8+OR...) > I'm not sure whether it woks but > > q=id:A^10+OR+id:B^9+OR+id:C^8+OR...) >

Re: How to Update Value of One Field of a Document in Index?

2011-05-09 Thread Luis Cappa Banda
Hello. You should be able to get the current document that you want to update, change your notes value with the new ones to be added bye the user, and then make and update petition to Solr to delete the old document (findable by the id that you include in the POST petition) and add the new documen

Re: search by url in Solr?

2011-05-10 Thread Luis Cappa Banda
Hello. One option is to specify a default search field in your schema.xml. If your query doesn´t include an specific field the query parser will use the default one to launch the query. You should include in your schema.xml something like this: url

Re: Field collapsing classloading issues

2011-05-15 Thread Luis Cappa Banda
Hello. Where did you put the .class files associated to FieldCollapsing? It´s usual to include them into a .jar contained in /lib server folder, for example. Another option is that the packet path "solr.CollapseComponent" it´s not the same as the applied in your patch, if it was modified.

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-20 Thread Luis Cappa Banda
Hello. Also you can index only "soccerclub" always deleting the whitespace in the expression with a charFilter. This behaviour must be also applied in search context. So then you have: 1. Index time: soccer club --> soccerclub indexed. 2. Search time: soccer club OR soccerclub --> soccerclub sear

Question about tokenizing, searching and retrieving results.

2011-06-07 Thread Luis Cappa Banda
Hello! My problem is as follows: I've got a field (indexed and stored setted as true) tokenized by whitespaces and other patterns, with a gap with value 100. For example, if index the following expression for the field that I mentioned: *Expression*: A B C D E-> *Index*: tokenAt

Re: Question about tokenizing, searching and retrieving results.

2011-06-08 Thread Luis Cappa Banda
Hello again! Thank you very much for answering. The problem was the defaultOperator, which was setted as AND. Damn, I was blind :-/ Thank you again.

PositionIncrement gap and multi-valued fields.

2011-08-08 Thread Luis Cappa Banda
Hello! I have a doubt about the behaviour of searching over field types that have positionIncrementGap defined. For example, supose that: 1. We have a field called "test" defined as multi-valued and white space tokenized. 2. The index has an single document with a "test" value: TEST1

Re: SolrCloud Tomcat configuration: problems and doubts.

2012-11-02 Thread Luis Cappa Banda
ache Solr project contributing with code (bugs corrections, new features, etc.). How can I contribute to the community? Thanks a lot. Best Regards, Luis Cappa. 2012/10/31 Mark Miller > A big difference if you are using tomcat is that you still need to > specify jetty.port - unles

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, copy&paste the log traces here. 2. The request is never executed. Analyze with Firebug in your browser. Regards, Luis Cappa. 2012/11/2 amit > Hi Lui

Re: Does SolrCloud supports MoreLikeThis?

2012-11-05 Thread Luis Cappa Banda
, Luis Cappa. 2012/11/5 Darren Govoni > There is a ticket for that with some recent activity (sorry I don't have > it handy right now), but I'm not sure if that work made it into the trunk, > so probably solrcloud does not support MLT...yet. Would love an update from &g

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

Latin characters encoding. Example: letter "ñ".

2012-11-07 Thread Luis Cappa Banda
rectly to search queries which includes de original "sueños" term. It looks like that Solr encoding isn´t UTF-8. Any tips or suggestions? Thank you very much. -- - Luis Cappa

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 >

Re: About solr fields (dynamic query)

2012-11-07 Thread Luis Cappa Banda
] Regards, Luis Cappa. 2012/11/7 Jack Krupansky > With Solr, you would need to pre-compute any computations in query > expressions and index them for direct matching. So, you would need a field > which was indexed with the sum of the values of the other two fields. > > --

SolrJ: atomic updates.

2012-11-15 Thread Luis Cappa Banda
pdating the resultant doc is as follows: *doc: {* * * *...* * * *fieldName: [ "{set=values}"* *],* * * *...* * * *}* In other words, the map which includes the "set" operation and the field values is String formatted and that String is used to update the field, :-/ What is the correct way to update just one or more fields with SolrJ? Regards, -- - Luis Cappa

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

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
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
> 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
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
Uhm, after setting both Response and Request Writers it worked OK with * HttpSolrServer*. I´ve tried to find a way to set BinaryResponseParser and BinaryRequestWriter with *CloudServer *(or even via *LbHttpSolrServer*) but I found nothing. Suggestions? :-/ - Luis Cappa. 2012/11/15 Sami Siren

CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Luis Cappa Banda
stance? Do you know if maybe it could be configured insed solrconfig.xml? Thanks a lot. -- - Luis Cappa

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Luis Cappa Banda
Yes, my first attemp was with a List, but it didn´t work. Then I started to try another ways such as a String[] array with no success. Regards, - Luis Cappa. 2012/11/15 Sami Siren > hi, > > did you try setting your values in a List, for example ArrayList it should > work when

Re: Execute an independent query from the main query

2012-11-18 Thread Luis Cappa Banda
logic and dispatches queries from your Client App to your Solr back-end. That module, let's call Search Engine, lets you play with all those special use cases. If you are familiar with Java I suggest you to have a look at the combination between SolrJ and Spring framework or Jersey. Regards, -

Re: [MASSMAIL]Re: How to boost query based on result of subquery?

2016-02-20 Thread Jorge Luis Betancourt González
Hi Rajesh, Have you taked a look on Query Re-Ranking? The idea is a little different of what you want but i think it should work, essentially you use your normal search query and then re-rank the top-n documents using a sencod query, this second query could use the position field to influence y

High fieldNorm values causing really odd results

2015-05-14 Thread Jorge Luis Betancourt González
Hi everyone: >From the last couple of week I'm noting some really odd results in my Solr >server, searching for the root cause the one thing I can point out is a very >high value of the fieldNorm parameter in the score calculation, an snippet of >the debug info: { "match":true, "value":4

Re: [MASSMAIL]Re: High fieldNorm values causing really odd results

2015-05-14 Thread Jorge Luis Betancourt González
Hi Hoss, First of all, thank you for your reply. Sorry for leaving the Solr version out in my previous email, I'm using Solr 4.10.3 running on Centos7, with the following JRE: Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_75 24.75-b04) This are the relevant portions of my schema.xml

Re: [MASSMAIL]Re: High fieldNorm values causing really odd results

2015-05-14 Thread Jorge Luis Betancourt González
Regarding the experiment, sorry If I explained myself in the wrong way, the indexed document doesn't have 119669 terms have a lot less terms (less than a 1000 terms, I don't have the exact number here now), instead 119669 is the number of distinct terms reported by luke (Top-terms total in the a

"boost" field in my schema.xml

2015-05-18 Thread Jorge Luis Betancourt González
Does a boost field in Solr has any use on the core calculation? For what I can see in [1] If a boost attribute is used in the doc/field level it my be encoded in the norm field and then used to boost the specific match in the doc/field. But I've a schema.xml with a boost field defined and using

Re: [MASSMAIL]Re: High fieldNorm values causing really odd results

2015-05-18 Thread Jorge Luis Betancourt González
the doc/field level. Is this a desired behaviour? Regards, - Original Message - From: "Jorge Luis Betancourt González" To: solr-user@lucene.apache.org Sent: Thursday, May 14, 2015 11:49:18 PM Subject: Re: [MASSMAIL]Re: High fieldNorm values causing really odd results Regarding t

ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-26 Thread Jorge Luis Betancourt González
Hi all, I'm trying to use the ConcurrentUpdateSolrClient class, that has some methods that accept and aditional parameter to indicate the collection, some of this methods are add(String collection, SolrInputDocument doc), request(SolrRequest, String collection). With HttpSolrClient this works f

Re: ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-26 Thread Jorge Luis Betancourt González
some methods On 6/26/2015 2:27 PM, Jorge Luis Betancourt González wrote: > I'm trying to use the ConcurrentUpdateSolrClient class, that has some methods > that accept and aditional parameter to indicate the collection, some of this > methods are add(String collection, SolrInputDoc

Re: [MASSMAIL] Re: ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-28 Thread Jorge Luis Betancourt González
route all the documents to the correct leader, leading to better performance. That class scales nearly linearly in terms of indexing throughput with the number of shards FWIW, Erick On Sat, Jun 27, 2015 at 2:32 AM, Jorge Luis Betancourt González wrote: > Thanks for the prompt reply Shawn

<    1   2   3   4   >