Early Access Release #6 for Solr 4.x Deep Dive is now available for download on Lulu.com

2013-08-30 Thread Jack Krupansky
Okay, it's hot off the e-presses: my updated book Solr 4.x Deep Dive, Early Access Release #6 is now available for purchase and download as an e-book for $9.99 on Lulu.com at: http://www.lulu.com/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-1/ebook/product-21120181.html (That lin

Re: Order of fields in a search query.

2013-08-30 Thread Chris Hostetter
: while the results would be identical irrespective of the order in which you : AND : A, B and C, will the response times of the following queries differ in any : way? : : C && B && A : A && B && C The queries won't be *cached* the same at the solr level, because the BooleanQuery generated by t

Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread joeo
Hoss - thank you very very much! This gets me moving again. -Joe Obernberger -- View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567p4087591.html Sent

Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread Chris Hostetter
: Hi! I've been using Solr Cloud 4.3.1 with zookeeper and a several shard : setup. When I try to use Solr Cloud 4.4.0, and bring up a 2 shard setup, it : seems to load fine without errors. However when I go to the web interface : and click 'cloud' an exception is thrown: This looks like SOLR-3

Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread Chris Hostetter
: I changed my zkhost to not use the root level and now it works. I went from Thanks for that feedback Joe -- i've updated SOLR-3852 to clarify the underlying cause of the problem and pointed out the possible work arround as you uncovered/confirmed. I've also uploaded a patch if you'd like to

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-30 Thread danielitos85
Ok, agree. I mean that I want to set a boost to each review/description (multifield) of the Places (multifield), and this boost is the corrispective value of the distance beetween the place and the particular kind of place that I have as document. Is it clear? I Try to explain again the situation

Re: QueryElevationComponent results only show up with debug = true

2013-08-30 Thread Chris Hostetter
: Here are the results with the debugQuery=true; with debugging off, there are : no results. I don't understand what you mean. According to this response, with debugQuery=true, there are not results matching your query... : : The elevated result appears in the queryBoost section but not i

Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread joeo
Thank you for the reply. Is there any work around available? Could it be related to the number of external zookeeper servers? -- View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567p4087573.html Sent from the Solr -

Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread joeo
I changed my zkhost to not use the root level and now it works. I went from using: -DzkHost=host1.domain.com:2181,host2.domain.com:2181,host3.domain.com:2181 to -DzkHost=host1.domain.com:2181,host2.domain.com:2181,host3.domain.com:2181/s440 which places all the zookeeper values from Solr into th

Re: QueryElevationComponent results only show up with debug = true

2013-08-30 Thread eShard
I can guarantee you that the ID is unique and it exists in that index. -- View this message in context: http://lucene.472066.n3.nabble.com/QueryElevationComponent-results-only-show-up-with-debug-true-tp4087531p4087565.html Sent from the Solr - User mailing list archive at Nabble.com.

ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display

2013-08-30 Thread joeo
Hi! I've been using Solr Cloud 4.3.1 with zookeeper and a several shard setup. When I try to use Solr Cloud 4.4.0, and bring up a 2 shard setup, it seems to load fine without errors. However when I go to the web interface and click 'cloud' an exception is thrown: 43242 [qtp965223859-14] WARN o

Re: QueryElevationComponent results only show up with debug = true

2013-08-30 Thread eShard
Sure, Here are the results with the debugQuery=true; with debugging off, there are no results. The elevated result appears in the queryBoost section but not in the result section: 0 0 true xml 100 *,[elevated] text true 0 gangnam

Re: SolrCloud Set up

2013-08-30 Thread Jared Griffith
That's what I was thinking. Though I am seeing some funkiness that I wasn't seeing with Solr & Zookeeper running together. On Fri, Aug 30, 2013 at 9:40 AM, Shawn Heisey wrote: > On 8/30/2013 9:43 AM, Jared Griffith wrote: > >> One last thing. Is there any real benefit in running SolrCloud and

Re: QueryElevationComponent results only show up with debug = true

2013-08-30 Thread Chris Hostetter
: What am I doing wrong? : query: : http://localhost:8080/solr/Profiles/elevate?q=gangnam+style&fl=*,[elevated]&wt=xml&start=0&rows=100&enableElevation=true&forceElevation=true&df=text&qt=edismax&debugQuery=true You've shown up the configs you are using, and the query you executed, and you've sa

Re: SolrCloud Set up

2013-08-30 Thread Shawn Heisey
On 8/30/2013 9:43 AM, Jared Griffith wrote: One last thing. Is there any real benefit in running SolrCloud and Zookeeper separate? I am seeing some funkiness with the separation of the two, funkiness I wasn't seeing when running SolrCloud + Zookeeper together as outlined in the Wiki. For a r

Re: SolrCloud Set up

2013-08-30 Thread Jason Hellman
One additional thought here: from a paranoid risk-management perspective it's not a good idea to have two critical services dependent upon a single point of failure if the hardware fails. Obviously risk-management is suited to taste, so you may feel the cost/benefit does not merit the separati

Re: Collection - loadOnStartup

2013-08-30 Thread Erick Erickson
I would _really_ advise you avoid trying this without an absolutely compelling, _demonstrated_ need. Unless you have a _lot_ of cores, the load time for even 100 or so isn't horrible, so if you're noticing a significant lag time, it's probably worth looking at why that is before jumping into using

Re: SolrCloud - Path must not end with / character

2013-08-30 Thread Jared Griffith
I was getting the same errors when trying to implement SolrCloud with Tomcat. I eventually gave up until something came out of this thread. This all works if you just ditch Tomcat and go with the native Jetty server. On Fri, Aug 30, 2013 at 6:28 AM, Prasi S wrote: > Also, this fails with the d

QueryElevationComponent results only show up with debug = true

2013-08-30 Thread eShard
Hi, I'm using solr 4.0 final built around Dec 2012. I was initially told that the QEC didn't work for distributed search but apparently it was fixed. Anyway, I use the /elevate handler with [elevated] in the field list and I don't get any elevated results. elevated=false in the result block. howeve

Re: SolrCloud Set up

2013-08-30 Thread Jared Griffith
One last thing. Is there any real benefit in running SolrCloud and Zookeeper separate? I am seeing some funkiness with the separation of the two, funkiness I wasn't seeing when running SolrCloud + Zookeeper together as outlined in the Wiki. On Thu, Aug 29, 2013 at 4:52 PM, Jared Griffith wrote

Re: apache tomcat 7 doesn't deploy tomcat 4.4

2013-08-30 Thread Jared Griffith
I didn't get the SolrCloud to work correctly, I was getting the character ending with / error, so I could do this for a stand alone instance. On Thu, Aug 29, 2013 at 4:43 PM, Erick Erickson wrote: > Hmmm, I'd be glad to give you edit rights if you'd like to > update with your current experiences

Order of fields in a search query.

2013-08-30 Thread Deepak Konidena
Does the order of fields matter in a lucene query? For instance, q = A && B && C Lets say A appears in a million documents, B in 1, C in 1000. while the results would be identical irrespective of the order in which you AND A, B and C, will the response times of the following queries differ

Re: Change the score of a document based on the *value* of a multifield using dismax

2013-08-30 Thread Erick Erickson
bq: I need to change the score of a document based on the value of a multifield This is contradictory in the sense that there is no "value of a multifield". That is, which of the entries in a multiValued field is the "right" one to use? There's no syntax for doing a boost function on "the first th

Change the score of a document based on the *value* of a multifield using dismax

2013-08-30 Thread danielitos85
Hi guys, I need to change the score of a document based on the value of a multifield. I thoght that maybe I need to set boost in index-time (but I don't sure). Now I explain you my situation: - I'm usng solr4.4 - I'm index data using dataimporthandler with rdbms - my documents are a particular k

Re: Collection - loadOnStartup

2013-08-30 Thread Srivatsan
I started looking in reducing the time taken to load cores during cluster restart. For initializing the core, building config file takes considerable amount of time. In our case, schema remains same for all collections(cores) . Hence it can be kept static, and avoid loading time. In the mean whil

Complex group request

2013-08-30 Thread Per Steffensen
Hi I want to do a fairly complex grouping request against Solr. Lets say that I have fields "field1" and "timestamp" for all my documents. In the request I want to provide a set of time-intervals and for each distinct value of "field1" I want to get a count on in how many of the time-interva

Re: SolrCloud - Path must not end with / character

2013-08-30 Thread Prasi S
Also, this fails with the default solr 4.4 downlaoded configuration too On Fri, Aug 30, 2013 at 4:19 PM, Prasi S wrote: > Below is the script i run > > START /MAX > F:\SolrCloud\zookeeper\zk-server-1\zookeeper-3.4.5\bin\zkServer.cmd > > > START /MAX F:\solrcloud\zookeeper java -classpath .;solr

Re: cores/shards with no leader

2013-08-30 Thread Srivatsan
I am also facing this issue . I am using solr 4.3.0. -- View this message in context: http://lucene.472066.n3.nabble.com/cores-shards-with-no-leader-tp4087323p4087478.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Newbie SOLR question

2013-08-30 Thread Атанас Атанасов
Thanks a lot! I don't know how I missed this discussion. Thank you again! Best regards Atanas On Fri, Aug 30, 2013 at 11:31 AM, Aloke Ghoshal wrote: > Hi, > > Please refer to my response from a few months back: > > http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201303.mbox/%3ccaht6

Re: regex constructs allowed in queries

2013-08-30 Thread Hugh Cayless
Yeah, upon re-reading the grammar, you're quite right. backslash escapes are legal, but there doesn't look like there's any concept of a predefined character class. For whatever reason, it looks to me like Lucene is just implementing its own regex matching—which may make complete sense for reaso

Re: SolrCloud - Path must not end with / character

2013-08-30 Thread Prasi S
Below is the script i run START /MAX F:\SolrCloud\zookeeper\zk-server-1\zookeeper-3.4.5\bin\zkServer.cmd START /MAX F:\solrcloud\zookeeper java -classpath .;solr-lib/* org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost localhost:2182 -confdir solr-conf -confname solrconf1 START /MAX F:\solrclo

Re: SolrCloud - Path must not end with / character

2013-08-30 Thread Prasi S
Im still clueless on where the issue could be. There is no much information in the solr logs. i had a running version of cloud in another server. I have copied the same to this server, and started zookeeper, then ran teh below commands, java -classpath .;solr-lib/* org.apache.solr.cloud.ZkCLI -cm

Re: Solr 4.0 Functions in FL: performance?

2013-08-30 Thread Cristian Cascetta
Whoa that's cool! It can simplify mani front-end calculations. - obviously I don't want to use it to make a simple sum :) Thanks! c. 2013/8/30 Andrea Gazzarini > Hi, > not actually sure I got the point but > > > Are values calculated over the whole set of docs? Only over the resulting >> >

Re: Solr 4.0 Functions in FL: performance?

2013-08-30 Thread Andrea Gazzarini
Hi, not actually sure I got the point but Are values calculated over the whole set of docs? Only over the resulting set of doc? Or, better, over the docs actually serialized in results. The third: a function is like a "virtual" field computed in real-time associated with each (returned) doc.

Re: Solr 4.4 problem with loading DisMaxRequestHandler

2013-08-30 Thread danielitos85
thanks a lot ;) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-4-problem-with-loading-DisMaxRequestHandler-tp4085842p4087449.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Newbie SOLR question

2013-08-30 Thread Aloke Ghoshal
Hi, Please refer to my response from a few months back: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201303.mbox/%3ccaht6s2az_w2av04rdmoeeck5e9o0k4ytktf0pjsecsh-lls...@mail.gmail.com%3E Our modelling is to index N (individual pages) + 1 (original document) in Solr. Once a document ha

Solr 4.0 Functions in FL: performance?

2013-08-30 Thread Cristian Cascetta
Hello, when I put a function in the Field List, when are field values calculated and on wich docs? Are values calculated over the whole set of docs? Only over the resulting set of doc? Or, better, over the docs actually serialized in results. i.e. I have 1000 docs in the index, 100 docs matching

Failure to open existing log file On HDFS

2013-08-30 Thread YouPeng Yang
Hi solr user I'm testing the Solr with HDFS.I happend to stop my hdfs before stopping the solr . After than I started the solr again. An exception come out[1] that I could not ignore. Can anybody explain the reason and how to avoid it? Regards [1]==

Re: apache tomcat 7 doesn't deploy tomcat 4.4

2013-08-30 Thread Carmine Paternoster
I have re-deployed all and it is ok, thank you at all for support :-) Carmine 2013/8/30 Erick Erickson > Hmmm, I'd be glad to give you edit rights if you'd like to > update with your current experiences, just create yourself > a login and ping the list with your Wiki logon name and we'll > be h

Re: how to delete ubb code when solr indexes documents

2013-08-30 Thread Upayavira
If you can't do it before the content gets to Solr, which would be best, then use the ScriptUpdateProcessor and code up some Javascript to remove it. Or, if the pattern is regular enough, you might be able to use the RegexpUpdateProcessor. Upayavira On Fri, Aug 30, 2013, at 04:24 AM, vincent wrot