DIH include Fieldset in query

2012-07-13 Thread stockii
hello.. i have many big entities in my data-config.xml. in the many entities is the same query. the entities look like this: entity name=name transformer=DateFormatTransformer pk=id query= SELECT field as fielname, IF(bla NOT NULL, 1, 0) AS blob, fieldname, fieldname AS field, ... more

Computed fields - can I put a function in fl?

2012-07-13 Thread maurizio1976
Hi, I have 2 fields, one containing a string (product) and another containing a boolean (show_product). Is there a way of returning the product field with a value of null when the show_product field is false? I can make another field (product_computed) and index that with null where I need but I

4.0-ALPHA for general development use?

2012-07-13 Thread John Field
Hi, we are considering a long-term project (likely lifecycle of several years) with an initial production release in approximately three months. We're intending to use Solr 3.6.0, with a view for upgrading to 4.0 upon stable release. However, http://lucene.apache.org/solr/ now has 4.0-ALPHA as

Multivalued attibute grouping in SOLR

2012-07-13 Thread jssorl
I came across a problem where one of my column is multivalued. eg: value can be (11,22) (11,33) (11,55) , (22,44) , (22,99) I want to perform a grouping operation that will yield: * 11 : count 3 * 22 : count 3 * 33 : 1 * 44 : 1 * 55 : 1 * 99 : 1 -- View this message

DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-13 Thread girishyes
Hi, I am getting this error with DIH using a combination of SQLEntityProcessor and XPathEntityProcessor: Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: null Processing Document # 1 at

Groups count in distributed grouping is wrong in some case

2012-07-13 Thread Agnieszka KukaƂowicz
Hi, I have problem with faceting count in distributed grouping. It appears only when I make query that returns almost all of the documents. My SOLR implementation has 4 shards and my queries looks like: http://host:port

Re: DataImport using last_indexed_id or getting max(id) quickly

2012-07-13 Thread Erick Erickson
You could also just keep a special document in your index with a known ID that contains meta-data fields. If this document had no fields in common with any other document it wouldn't satisfy searches (except the *:* search). Or you could store this info somewhere else (file, DB, etc). Or you can

Re: Capacity Planning Guidance

2012-07-13 Thread Erick Erickson
This question, reasonable as it appears, is just unanswerable in the abstract. About all you can do is prototype and test. Take facet queries. The hardware requirements vary drastically based on the number of unique values in the field(s) you're faceting on, as well as whether they're multi-valued

Re: shard connection timeout

2012-07-13 Thread Erick Erickson
Right, as Michael says you've allocated a massive amount of memory. I suspect you're just hitting a full-pause garbage collection and it's taking a lng time. Do you know whether you actually need all that memory or was it allocated on the theory that more is better? We often recommend that

Re: DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-13 Thread Gora Mohanty
On 13 July 2012 15:22, girishyes girish...@gmail.com wrote: Hi, I am getting this error with DIH using a combination of SQLEntityProcessor and XPathEntityProcessor: entity name=child_xml rootEntity=true

Re: Case-insensitive on facet prefix

2012-07-13 Thread Erick Erickson
You'll have to lowercase your facet.prefix. All the terms in your field are lowercased, as per your fieldType so you'll have to specify searching that way too Best Erick On Thu, Jul 12, 2012 at 2:01 PM, Nestor Oviedo oviedones...@gmail.com wrote: Hello all. I have a field configured with

Re: 4.0-ALPHA for general development use?

2012-07-13 Thread Mark Miller
It really comes down to you. Many people run a trunk version of Solr in production. Some never would. Generally, bugs are fixed quickly, and trunk is pretty stable. The main issue is index format changes and upgrades. If you use trunk you generally have to be willing to reindex to upgrade. That's

edismax not working in a core

2012-07-13 Thread Richard Frovarp
I'm having trouble with edismax not working in one of my cores. I have three cores up and running, including the demo in Solr 3.6 on Tomcat 7.0.27 on Java 1.6. I can't get edismax to work on one of those cores, and it's configured very similar to the demo, which does work. I have different

solr-user-subscribe

2012-07-13 Thread dan haig
solr-user-subscribe solr-user-subscr...@lucene.apache.org

Re: Email keeps bouncing

2012-07-13 Thread Chris Hostetter
: Whenever I reply to an email to this list I got a failure notice (please see below) The message you just send is plain text, but according to this failure your other message used HTML, so i would suggest checking your mail settings and always sending plain text mails to the list. It's

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley yo...@lucidimagination.com wrote: On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: Is there a flag for: if document does not exist, create it for me? Not currently, but it certainly makes sense. The

Re: Updating documents

2012-07-13 Thread Yonik Seeley
On Fri, Jul 13, 2012 at 1:41 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley yo...@lucidimagination.com wrote: On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: Is there a flag for: if document does not

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 1:43 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Fri, Jul 13, 2012 at 1:41 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley yo...@lucidimagination.com wrote: On Thu, Jul 12, 2012 at 3:20 PM, Jonatan

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: Yonik, On Thu, Jul 12, 2012 at 12:52 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: On Thu, Jul 12, 2012 at 11:05 AM,

Re: Updating documents

2012-07-13 Thread Yonik Seeley
On Fri, Jul 13, 2012 at 3:50 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier jonatan.fourn...@gmail.com wrote: But later on when I want to append cat3 to the field by doing this: mv_f:{add:cat3}, ... I end up with something like this

queryResultCache not checked with fieldCollapsing

2012-07-13 Thread Mike Schultz
I have an index with field collapsing defined like this: lst name=default str name=group.fieldSomeField/str str