SlrCloud RAM requirments

2014-09-23 Thread Norgorn
I have CLOUD with 3 nodes and 16 MB RAM on each. My index is about 1 TB and search speed is awfully bad. I've read, that one needs at least 50% of index size in RAM, but I suerly can't afford it. Please, tell me, is there any way to improve perfomance with hardly limited resources? Yes, I can try t

Re: Changed behavior in solr 4 ??

2014-09-23 Thread Jorge Luis Betancourt Gonzalez
Hi Jack: Thanks for the response, yes the way you describe I know it works and is how I get it to work but then what does mean the snippet of the documentation I see on the documentation about overriding the default components shipped with Solr? Even on the book Solr in Action in chapter 7 list

Re: Solr upgrade to latest version

2014-09-23 Thread Vivek Misra
Hi, Currently I am using SOLR 1.4.1 and want to migrate to SOLR 4.9. Is there any manual or link for 1.4 to 4.9? Which can guide step by step on 1. solrconfig.xml changes 2. schema.xml changes 3. changes required in version 1.4.1 queries. Thanks Vivek On Tue, Sep 23, 2014 at 9:19 AM,

Re: Changed behavior in solr 4 ??

2014-09-23 Thread Jack Krupansky
You set the defaults on the "search handler", not the "search component". See solrconfig.xml: explicit 10 text ... -- Jack Krupansky -Original Message- From: Jorge Luis Betancourt Gonzalez Sent: Tuesday, September 23, 2014 11:02 AM To: solr-user@lucene.apache.org

Re: query for space character in text field ...

2014-09-23 Thread Jack Krupansky
Or simply enclosed the full term in quotes: q=path:"my path" Which is more properly encoded as: q=path:%22my+path%22 -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Tuesday, September 23, 2014 11:02 PM To: solr-user@lucene.apache.org Subject: Re: query for space char

Re: Accessing document stored fields in a custom function

2014-09-23 Thread Erick Erickson
bq: Is accessing the stored data going to have a big impact on the time to return results? If I'm reading this right, this an anti-pattern. Consider a corpus with 10M documents, and your query matches 1M of them. Your collector might be going out to disk to get the stored field and decompress it 1

Re: query for space character in text field ...

2014-09-23 Thread Erick Erickson
You should be able to escape it with a backslash, as search\ with\ spaces Best, Erick On Tue, Sep 23, 2014 at 3:18 PM, Samuel Smith wrote: > Should I be able to search a text field in my index for any value that > contains white space? > > The value in my “path” field contains an untokenized st

Accessing document stored fields in a custom function

2014-09-23 Thread Scott Smith
I'm creating a custom function (extends ValueSource). I'm generating a value that will both be returned as a value in the hit for each doc and also be used to sort. As I read the documentation, this is not difficult. To determine the value for a document, I need to access the "stored" fields f

query for space character in text field ...

2014-09-23 Thread Samuel Smith
Should I be able to search a text field in my index for any value that contains white space? The value in my “path” field contains an untokenized string (“that contains spaces”). I can do single character searches for other single special characters no problem (q=path:*!*, or q=path:*-*), b

Add multiple JSON documents with boost

2014-09-23 Thread Damian Luszczymak
Hi, i try to add documents to the index and boost them (hole document) but i get this error message: ERROR org.apache.solr.core.SolrCore – org.apache.solr.common.SolrException: Error parsing JSON field value. Unexpected OBJECT_START Any ideas? [ { "add": { "boost": 1,

Re: Help with a slow filter query

2014-09-23 Thread Mikhail Khludnev
> > when created_at_d:[* TO > 2014-09-08T23:59:59Z] takes 15 seconds. What do I do wrong? > Nothing serious, you just send darn expensive range. Filter evaluation costs a sum of enumerating terms and enumerating docs under that range. To speed it up: you can reduce the number of terms by dropping

Re: Send nested doc with solrJ

2014-09-23 Thread Mikhail Khludnev
Have you tried http://lucene.apache.org/solr/4_9_1/solr-solrj/org/apache/solr/common/SolrInputDocument.html#addChildDocuments%28java.util.Collection%29 Are you sure your SolrJ.jar is not really old? On Tue, Sep 9, 2014 at 6:02 PM, Ali Nazemian wrote: > Dear all, > Hi, > I was wondering how can I

Re: Solr mapred MTree merge stage hangs repeatably in 4.10 (but not 4.9)

2014-09-23 Thread Brett Hoerner
To be clear, those exceptions are during the "main" mapred job that is creating the many small indexes. If these errors above occur (they don't fail the job), I am 99% sure that is when the MTree job later hangs. On Tue, Sep 23, 2014 at 1:02 PM, Brett Hoerner wrote: > I believe these are related

Re: Solr mapred MTree merge stage hangs repeatably in 4.10 (but not 4.9)

2014-09-23 Thread Brett Hoerner
I believe these are related (they are new to me), anyone seen anything like this in Solr mapred? Error: java.io.IOException: org.apache.solr.client.solrj.SolrServerException: org.apache.solr.client.solrj.SolrServerException: org.apache.lucene.index.CorruptIndexException: checksum failed (hardwar

Re: Solr Boosting Unique Values

2014-09-23 Thread O. Olson
Thank you Erick for your prompt response. I'm sorry I could not get back to you earlier. My current setup does not use the ImageUrl field for the search (more specifically as the default search field). The ImageUrl field contains a URL to the image which is for most part a GUID, which is meaningl

queryResultMaxDocsCached vs queryResultWindowSize

2014-09-23 Thread Tom Burton-West
Hello, queryResultWindowSize sets the number of documents to cache for each query in the queryResult cache.So if you normally output 10 results per pages, and users don't go beyond page 3 of results, you could set queryResultWindowSize to 30 and the second and third page requests will read f

Re: Loading an index (generated by map reduce) in SolrCloud

2014-09-23 Thread KNitin
Thanks for all the responses. I will try copying the corresponding segments to the corresponding shards On Wed, Sep 17, 2014 at 8:26 PM, ralph tice wrote: > If you are updating or deleting from your indexes I don't believe it is > possible to get a consistent copy of the index from the file syst

Re: Upgrading Solr Cloud from 4.7.1 to 4.10

2014-09-23 Thread Nitin Agarwal
Thanks Shawn, will try and it out without re-indexing and see how that goes. Nitin On Tue, Sep 23, 2014 at 9:00 AM, Shawn Heisey wrote: > On 9/23/2014 8:40 AM, Nitin Agarwal wrote: > > Hi, we are planning for a Solr Cloud upgrade from 4.7.1 to 4.10. I have > > identified the following steps for

Solr: Boost of childs (json)

2014-09-23 Thread ku3ia
Hi, folks! I can't find an example to post document with child boosted documents using json update handler. { "add":{ "boost":2.3, "doc":{ "id":"123", "title":{"boost":4,"value":"simple text"}, "_childDocuments_":[ { "id":"123_0", "child":"te

Re: [ANN] Lucidworks Fusion 1.0.0

2014-09-23 Thread Gopal Patwa
you can register for webinar also to know more about Fusion on Oct 2nd. http://lucidworks.com/blog/say-hello-to-lucidworks-fusion/ On Tue, Sep 23, 2014 at 7:39 AM, Jack Krupansky wrote: > You simply download it yourself and give yourself a demo!! > > http://lucidworks.com/product/fusion/ > >

Changed behavior in solr 4 ??

2014-09-23 Thread Jorge Luis Betancourt Gonzalez
Hi: I’m trying to change the default configuration for the query component of a SearchHandler, basically I want to set a default value to the rows parameters and that this value be shared by all my SearchHandlers, as stated on the solrconfig.xml comments, this could be accomplished redeclaring

RE: RE: using facet enum et fc in the same query.

2014-09-23 Thread jerome . dupont
First Thanks very much for your answers, and Alan's one >> I have a solr index (12 M docs, 45Go) with facets, and I'm trying to improve facet queries performances. >> 1/ I tried to use docvalue on facet fields, it didn't work well > That was surprising, as the normal result of switching to DocVa

Re: Upgrading Solr Cloud from 4.7.1 to 4.10

2014-09-23 Thread Shawn Heisey
On 9/23/2014 8:40 AM, Nitin Agarwal wrote: > Hi, we are planning for a Solr Cloud upgrade from 4.7.1 to 4.10. I have > identified the following steps for the upgrade > > 1. Update solrconfig.xml to be compliant with 4.10. > 2. Update the required jar files and war files from Solr 4.10 distribution.

SolrCloud and pivot facets

2014-09-23 Thread Burke Webster
First off thanks to everybody who worked on SOLR-2894 which allows distributed pivot faceting. We have been looking forward to that for a while. Is anybody else running on >= Solr 4.10 and doing facet pivoting? We just upgraded to a nightly build of 4.11 and have started to reimplement our pivot

Re: Combining several fields for facets.

2014-09-23 Thread Erick Erickson
If you used pivot facets you'd get all the information back, but you'd have to combine the cells yourself. Best, Erick On Tue, Sep 23, 2014 at 6:02 AM, SolrUser1543 wrote: > Hi! > How can I create a facet combining 2 (or more) different fields, without > using copy field to union them? > For ex

Re: Formatting dates

2014-09-23 Thread Manohar Kanuri
Thanks Alex, I will try your "not programming" :) solution. Really appreciate your time and effort. manohar On Sep 22, 2014, at 6:23 PM, Alexandre Rafalovitch wrote: > You could try - for your ideal scenario - creating an > UpdateRequestProcessor (URP) chain, that > includes:ParseDateFieldU

Upgrading Solr Cloud from 4.7.1 to 4.10

2014-09-23 Thread Nitin Agarwal
Hi, we are planning for a Solr Cloud upgrade from 4.7.1 to 4.10. I have identified the following steps for the upgrade 1. Update solrconfig.xml to be compliant with 4.10. 2. Update the required jar files and war files from Solr 4.10 distribution. 3. Verified we are using Java 1.7. Now comes the q

Re: [ANN] Lucidworks Fusion 1.0.0

2014-09-23 Thread Jack Krupansky
You simply download it yourself and give yourself a demo!! http://lucidworks.com/product/fusion/ -- Jack Krupansky -Original Message- From: Thomas Egense Sent: Tuesday, September 23, 2014 2:00 AM To: solr-user@lucene.apache.org Subject: Re: [ANN] Lucidworks Fusion 1.0.0 Hi Grant. Wil

Re: Combining several fields for facets.

2014-09-23 Thread Alexandre Rafalovitch
Why not copy them into a facet field. Space constraints? If space is the concern, you need to remember that facets use indexed value, so that copy target field has absolutely no reason to be stored. And indexed values are stored only once per unique token, so then you are only paying for posting t

Combining several fields for facets.

2014-09-23 Thread SolrUser1543
Hi! How can I create a facet combining 2 (or more) different fields, without using copy field to union them? For example if I have this documents: Doc1 with the field X contains the value a and field Y contains the value b Doc2 with the field X contains the value c and field Y contains the value a

Re: AND operator in multi valued fields

2014-09-23 Thread lboutros
That's excellent Mikhail ! Thanks so much. I have to use it in my custom query parser now. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/AND-operator-in-multi-valued-fields-tp4159715p4160668.html Sent from the Solr - User mailing list archiv

Re: join on same field in same core

2014-09-23 Thread Mikhail Khludnev
https://wiki.apache.org/solr/Join did you check it? On Thu, Sep 18, 2014 at 4:52 PM, abhayd wrote: > hi All, > I am solr schema like > > id | task > 1|t1 > 1|t2 > 2|t2 > 2|t3 > > I would like to get all the id's where task t2 & t1 are associated with > same > id. Is there anyway we can do inner

Re: AND operator in multi valued fields

2014-09-23 Thread Mikhail Khludnev
On Fri, Sep 19, 2014 at 12:45 PM, lboutros wrote: > What do you think about developing a new SpanQuery class that allows "cross > field" queries ? > indeed http://lucene.apache.org/core/3_0_3/api/all/org/apache/lucene/search/spans/FieldMaskingSpanQuery.html -- Sincerely yours Mikhail Khludnev