Help with user file searching with custom permissions

2012-07-13 Thread Matt Palermo
I'm looking to get some advice on setting up a workflow and schema for a project I'm working on. Here is a bit of background on the project... The project is an online file management system. It has hundreds of users at the moment. There are 1,000,000+ files and folders already existing in the s

queryResultCache not checked with fieldCollapsing

2012-07-13 Thread Mike Schultz
I have an index with field collapsing defined like this: SomeField true

Re: Updating documents

2012-07-13 Thread Yonik Seeley
On Fri, Jul 13, 2012 at 3:50 PM, Jonatan Fournier wrote: > On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier > 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 in the index: > > "mv_f":["{add=cat3

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier wrote: > Yonik, > > On Thu, Jul 12, 2012 at 12:52 PM, Yonik Seeley > wrote: >> On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier >> wrote: >>> On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson The partial documents update that Jonatan refere

Re: Updating documents

2012-07-13 Thread Yonik Seeley
>> I've just committed this change. > > Super thanks! I assume it will end up in the 4.0 release? Yep! -Yonik http://lucidimagination.com

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 1:43 PM, Yonik Seeley wrote: > On Fri, Jul 13, 2012 at 1:41 PM, Jonatan Fournier > wrote: >> On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley >> wrote: >>> On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier >>> wrote: Is there a flag for: if document does not exist, cr

Re: Updating documents

2012-07-13 Thread Yonik Seeley
On Fri, Jul 13, 2012 at 1:41 PM, Jonatan Fournier wrote: > On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley > wrote: >> On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier >> wrote: >>> Is there a flag for: if document does not exist, create it for me? >> >> Not currently, but it certainly makes sen

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley wrote: > On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier > wrote: >> Is there a flag for: if document does not exist, create it for me? > > Not currently, but it certainly makes sense. > The implementation should be easy. The most difficult part is

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 possi

solr-user-subscribe

2012-07-13 Thread dan haig
solr-user-subscribe

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 fie

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

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 wrote: > Hello all. > I have a field configured with the LowerCaseFilterFa

Re: DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-13 Thread Gora Mohanty
On 13 July 2012 15:22, girishyes wrote: > Hi, > > I am getting this error with DIH using a combination of SQLEntityProcessor > and XPathEntityProcessor: > rootEntity="true" >

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 y

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

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 ca

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 /select/q?=*:*&shards=shard1,shard2,shard3,shard4&group=true&group.field=id&

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 org.apache.solr.handler.dataimport.DataImportHandlerEx

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 in

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 th

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

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: http://lucene.472066.n3.nabble.com/DIH-include-Fieldset-in-query-tp3994798.html Sent from the Solr - User mailing list archive at Nabble.com.