Re: choosing placement upon RESTORE

2017-05-02 Thread xavier jmlucjav
want to follow this ticket. > > On Mon, May 1, 2017 at 9:15 PM, xavier jmlucjav <jmluc...@gmail.com> > wrote: > >> hi, >> >> I am facing this situation: >> - I have a 3 node Solr 6.1 with some 1 shard, 1 node collections (it's >> just >> for d

choosing placement upon RESTORE

2017-05-01 Thread xavier jmlucjav
hi, I am facing this situation: - I have a 3 node Solr 6.1 with some 1 shard, 1 node collections (it's just for dev work) - the collections where created with: action=CREATE&...=EMPTY" then action=ADDREPLICA&...=$NODEA=$DATADIR" - I have taken a BACKUP of the collections - Solr is upgraded

DIH: last_index_time not updated on if 0 docs updated

2017-02-27 Thread xavier jmlucjav
Hi, After getting our interval for calling delta index shorter and shorter, I have found out that last_index_time in dataimport.properties is not updated every time the indexing runs, it is skipped if no docs where added. This happens at least in the following scenario: - running delta as full

Re: procedure to restart solrcloud, and config/collection consistency

2017-02-09 Thread xavier jmlucjav
how-to-install-solr-as-a-service-in-any-platform-including-solr-5-8e4a93cc3909 thanks On Thu, Feb 9, 2017 at 4:53 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/9/2017 5:24 AM, xavier jmlucjav wrote: > > I always wondered, if this was not really needed, and I could just

Re: procedure to restart solrcloud, and config/collection consistency

2017-02-09 Thread xavier jmlucjav
Hi Markus, yes, of course I know (and use) the collections api to reload the config. I am asking what would happen in that scenario: - config updated (but collection not reloaded) - i restart one node now one node has the new config and the rest the old one?? Regarding restarting many hosts, my

procedure to restart solrcloud, and config/collection consistency

2017-02-09 Thread xavier jmlucjav
Hi, When I need to restart a Solrcloud cluster, I always do this: - log in into host nb1, stop solr - log in into host nb2, stop solr -... - log in into host nbX, stop solr - verify all hosts did stop - in host nb1, start solr - in host nb12, start solr -... I always wondered, if this was not

reuse a org.apache.lucene.search.Query in Solrj?

2017-01-05 Thread xavier jmlucjav
Hi, I have a lucene Query (Boolean query with a bunch of possibly complex spatial queries, even polygon etc) that I am building for some MemoryIndex stuff. Now I need to add that same query to a Solr query (adding it to a bunch of other fq I am using). Is there a some way to piggyback the lucene

solrj: get to which shard a id will be routed

2016-12-22 Thread xavier jmlucjav
Hi Is there somewhere a sample of some solrj code that given: - a collection - the id (like "IBM!12345") returns the shard to where the doc will be routed? I was hoping to get that info from CloudSolrClient itself but it's not exposing it as far as I can see. thanks xavier

Re: 'solr zk upconfig' etc not working on windows since 6.1 at least

2016-10-27 Thread xavier jmlucjav
done, with simple patch https://issues.apache.org/jira/browse/SOLR-9697 On Thu, Oct 27, 2016 at 4:21 PM, xavier jmlucjav <jmluc...@gmail.com> wrote: > sure, will do, I tried before but I could not create a Jira, now I can, > not sure what was happening. > > On Thu, Oct 2

Re: 'solr zk upconfig' etc not working on windows since 6.1 at least

2016-10-27 Thread xavier jmlucjav
nd we'd have to hurry if this fix has to go in. > > On Thu, Oct 27, 2016 at 6:32 PM, xavier jmlucjav <jmluc...@gmail.com> > wrote: > > > Correcting myself here, I was wrong about the cause (I had already messed > > with the script). > > > > I made it work by c

Re: 'solr zk upconfig' etc not working on windows since 6.1 at least

2016-10-27 Thread xavier jmlucjav
( IF "%ZK_OP%"=="cp" ( goto set_zk_dst ) IF "%ZK_OP%"=="mv" ( goto set_zk_dst ) set ZK_DST="_" ) ELSE IF NOT "%1"=="" ( set ERROR_MSG="Unrecognized or misplaced zk argument %1%" Now upconfig wor

'solr zk upconfig' etc not working on windows since 6.1 at least

2016-10-27 Thread xavier jmlucjav
hi, Am I missing something or this is broken in windows? I cannot upconfig, the scripts keeps exiting immediately and showing usage, as if I use some wrong parameters. This is on win10, jdk8. But I am pretty sure I saw it also on win7 (don't have that around anymore to try) I think the issue

Re: JNDI settings

2016-09-26 Thread xavier jmlucjav
I did set up JNDI for DIH once, and you have to tweak the jetty setup. Of course, solr should have its own jetty instance, the old way of being just a war is not true anymore. I don't remember where, but there should be some instructions somewhere, it took me an afternoon to set it up fine.

[ANN] sadat: generate fake docs for your Solr index

2014-03-17 Thread xavier jmlucjav
Hi, A couple of times I found myself in the following situation: I had to work on a Solr schema, but had no docs to index yet (the db was not ready etc). In order to start learning js, I needed some small project to practice, so I thought of this small utility. It allows you to generate fake

Re: When is/should qf different from pf?

2013-10-29 Thread xavier jmlucjav
I am confused, wouldn't a doc that match both the phrase and the term queries have a better score than a doc matching only the term score, even if qf and pf are the same?? On Mon, Oct 28, 2013 at 7:54 PM, Upayavira u...@odoko.co.uk wrote: There'd be no point having them the same. You're

Re: do SearchComponents have access to response contents

2013-04-05 Thread xavier jmlucjav
this from your container access logs after the fact? I may be misunderstanding something but why wouldn't mining the Jetty/Tomcat logs for the response size here suffice? Thanks! Amit On Thu, Apr 4, 2013 at 1:34 AM, xavier jmlucjav jmluc...@gmail.com wrote: A custom QueryResponseWriter

Re: do SearchComponents have access to response contents

2013-04-04 Thread xavier jmlucjav
and queryResponseWriter in solrconfig.xml. -- Jack Krupansky -Original Message- From: xavier jmlucjav Sent: Wednesday, April 03, 2013 4:22 PM To: solr-user@lucene.apache.org Subject: do SearchComponents have access to response contents I need to implement some SearchComponent

do SearchComponents have access to response contents

2013-04-03 Thread xavier jmlucjav
I need to implement some SearchComponent that will deal with metrics on the response. Some things I see will be easy to get, like number of hits for instance, but I am more worried with this: We need to also track the size of the response (as the size in bytes of the whole xml response tat is

custom similary on a field not working

2013-03-21 Thread xavier jmlucjav
I have the following setup: fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer tokenizer class=solr.StandardTokenizerFactory/ filter class=solr.LowerCaseFilterFactory/ /analyzer /fieldType

Re: custom similary on a field not working

2013-03-21 Thread xavier jmlucjav
be: field name=description omitTermFreqAndPositions=truetype=text indexed=true stored=true multiValued=false omitNorms=true / http://wiki.apache.org/solr/SchemaXml On Thu, Mar 21, 2013 at 7:35 AM, xavier jmlucjav jmluc...@gmail.com wrote: I have the following setup

Re: custom similary on a field not working

2013-03-21 Thread xavier jmlucjav
Rowe sar...@gmail.com wrote: Hi xavier, Have you set the global similarity to solr.SchemaSimilarityFactory? See http://wiki.apache.org/solr/SchemaXml#Similarity. Steve On Mar 21, 2013, at 9:44 AM, xavier jmlucjav jmluc...@gmail.com wrote: Hi Felipe, I need to keep positions

Re: custom similary on a field not working

2013-03-21 Thread xavier jmlucjav
Damn...I was obfuscated seeing the 14 there...I had naively thought that term freq would not be stored in the doc, 1 would be stored, but I guess it still stores the real value and then applies custom similarity at query time. That means changing to a custom similarity does not need reindexing

Re: 4.0 hanging on startup on Windows after Control-C

2013-03-18 Thread xavier jmlucjav
/2013 11:51 AM, xavier jmlucjav wrote: Hi, I have an index where, if I kill solr via Control-C, it consistently hangs next time I start it. Admin does not show cores, and searches never return. If I delete the index contents and I restart again all is ok. I am on windows 7, jdk1.7 and Solr4.0

Re: Is there an EdgeSingleFilter already?

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

4.0 hanging on startup on Windows after Control-C

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

Re: Is there an EdgeSingleFilter already?

2013-03-16 Thread xavier jmlucjav
its comsumeAllTokens option. I think this would make a nice addition to Lucene. Also, what do you plan to use this for? Steve On Mar 16, 2013, at 5:02 PM, xavier jmlucjav jmluc...@gmail.com wrote: Hi, I need to use shingles but only keep the ones that start from the edge. I want

Re: Is there an EdgeSingleFilter already?

2013-03-16 Thread xavier jmlucjav
I read too fast your reply, so I thought you meant configuring the LimitTokenPositionFilter. I see you mean I have to write one, ok... On Sat, Mar 16, 2013 at 10:33 PM, xavier jmlucjav jmluc...@gmail.comwrote: Steve, Yes, I want only one, one two, and one two three, but nothing else. Cool

[ANN] vifun: a GUI to help visually tweak Solr scoring, release 0.6

2013-03-10 Thread xavier jmlucjav
Hi, I am releasing an new version (0.6) of vifun, a GUI to help visually tweak Solr scoring. Most relevant changes are: - support float values - add support for tie - synch both Current/Baseline scrollbars (if some checkbox is selected) - doubleclick in a doc: show side by side comparison of

Re: [ANN] vifun: tool to help visually tweak Solr boosting

2013-03-04 Thread xavier jmlucjav
Hi Mark, Thanks for trying it out. Let me see if I explain it better: the number you have to select (in order to later being able to tweak it with the slider), is any number that must be in one of the parameters in the Scoring section. The issue you have, is that you are using /select handler