Query facet count and its matching documents

2012-07-14 Thread Gnanakumar
Hi, We're running Apache Solr v3.1 and SolrJ is our client. We're passing multiple Arbitrary Faceting Query (facet.query) to get the number of matching documents (the facet count) evaluated over the search results in a *single* Solr query. My use case demands the actual matching facet results/do

Re: Help with user file searching with custom permissions

2012-07-14 Thread Ahmet Arslan
> Can anyone give me some general advice or pointers for > setting up such an index that enforces user access > permissions for this type of file/folder search? May be you can make use of http://manifoldcf.apache.org/en_US/index.html

Query results vs. facets results

2012-07-14 Thread tudor
Hello, I am new to Solr and I running some tests with our data in Solr. We are using version 3.6 and the data is imported form a DB2 database using Solr's DIH. We have defined a single entity in the db-data-config.xml, which is an equivalent of the following query: This might lead to some names

Re: Multivalued attibute grouping in SOLR

2012-07-14 Thread Ahmet Arslan
> 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 Ac

Re: DIH include Fieldset in query

2012-07-14 Thread Ahmet Arslan
--- On Fri, 7/13/12, stockii wrote: > From: stockii > Subject: DIH include Fieldset in query > To: solr-user@lucene.apache.org > Date: Friday, July 13, 2012, 11:42 AM > hello.. > > i have many big entities in my data-config.xml. in the many > entities is the > same query. > the entities look

Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
Dear Solr users, I try to run solr/ with tomcat but I have always this error: Can't find resource 'schema.xml' in classpath or '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6 but schema.xml is inside the directory '/home/solr/apache-solr-3.6.0/example/solr/./conf/'

Re: Help with user file searching with custom permissions

2012-07-14 Thread Jack Krupansky
If I recall properly, MCF had a proposed patch in this area that was never fully accepted by the community. The LucidWorks Enterprise product has support for "search filters for access control" as well: http://lucidworks.lucidimagination.com/display/lweug20/Search+Filters+for+Access+Control Th

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
I found the problem I think, It was a permission problem on the schema.xml schema.xml was only readable by the solr user. Now I have the same problem with the solr index directory Le 14/07/2012 14:00, Bruno Mannina a écrit : Dear Solr users, I try to run solr/ with tomcat but I have always th

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Vadim Kisselmann
same problem. but here should tomcat6 have the right to read/write your index. regards vadim 2012/7/14 Bruno Mannina : > I found the problem I think, It was a permission problem on the schema.xml > > schema.xml was only readable by the solr user. > > Now I have the same problem with the solr inde

Re: Is it possible to alias a facet field?

2012-07-14 Thread Jamie Johnson
So this got me close facet.field=testfield&facet.field=%7B!key=mylabel%7Dtestfield&f.mylabel.limit=1 but the limit on the alias didn't seem to work. Is this expected? On Sat, Jul 14, 2012 at 10:03 AM, Jamie Johnson wrote: > I am looking to facet on a field in more than one way. My data is of

Re: Is it possible to alias a facet field?

2012-07-14 Thread Yonik Seeley
On Sat, Jul 14, 2012 at 10:12 AM, Jamie Johnson wrote: > So this got me close > > facet.field=testfield&facet.field=%7B!key=mylabel%7Dtestfield&f.mylabel.limit=1 > > but the limit on the alias didn't seem to work. Is this expected? Per-field params don't currently look under the alias. I believ

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
Yes, I actually do a backup of my index before changing/testing chgrp action. As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex sudo chmod g+s /solrindex ? Le 14/07/2012 15:31, Vadim Kisselmann a écrit : same problem. but here should tomcat6 have the right to

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
Le 14/07/2012 16:37, Bruno Mannina a écrit : As I'm a newbie on Linux, is it the right commands: sudo chgrp tomcat6 /solrindex If I do this command line, no change has been done?! For solrindex/ Before I have: solr:solr After I have: solr:solr ?? chgrp has no action?!

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
If I use nautilus (with sudo) I have the list of User and the list of Group but when I choose tomcat6, instantanly the selection change to "solr" and I can't modify it Help please, Bruno Le 14/07/2012 20:03, Bruno Mannina a écrit : Le 14/07/2012 16:37, Bruno Mannina a écrit : As I'm a newbi

Re: Pb installation Solr/Tomcat6

2012-07-14 Thread Bruno Mannina
humm it seems to be a NTFS problem because it's a external HDD that I use also with Windows Le 14/07/2012 20:11, Bruno Mannina a écrit : If I use nautilus (with sudo) I have the list of User and the list of Group but when I choose tomcat6, instantanly the selection change to "solr" and I can

AjaxSolr + Solr + Nutch question

2012-07-14 Thread praful
I referred https://github.com/evolvingweb/ajax-solr/wiki/reuters-tutorial for Ajax-Solr setup. I want to know that although ajax-solr is running but it's searching under only reuters data. If I want to crawl the web using nutch and integrate it with solr,then i have to replace solr's schema.xml

SOLR 4 Alpha Out Of Mem Err

2012-07-14 Thread Nick Koton
I have been experiencing out of memory errors when indexing via solrj into a 4 alpha cluster. It seems when I delegate commits to the server (either auto commit or commit within) there is nothing to throttle the solrj clients and the server struggles to fan out the work. However, when I handle co

Re: Help with user file searching with custom permissions

2012-07-14 Thread Matt Palermo
With the file manager system, the users don’t have an account on the server itself. They have user accounts stored in a MySQL database and all permissions are tied to the user id from the database. I don’t know if this complicates things at all, but I thought I’d throw that out there in case any

Re: SOLR 4 Alpha Out Of Mem Err

2012-07-14 Thread Mark Miller
Can you give more info? How much RAM are you giving Solr with Xmx? Can you be more specific about the behavior you are seeing with auto commit vs client commit? How often are you trying to commit? With the client? With auto commit? Are you doing soft commits? Std commits? A mix? What's the s

SolrCloud survey

2012-07-14 Thread Mark Miller
I know there are a variety of people out there already using SolrCloud - some are testing and investigating, others are already in production. I don't know many details about these installs though. Could anyone that is able/willing share details about your SolrCloud experience/setup? I'm ver

RE: SOLR 4 Alpha Out Of Mem Err

2012-07-14 Thread Nick Koton
> Can you give more info? How much RAM are you giving Solr with Xmx? RHEL 5.4 Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) java -Xmx16384m -Xms8192m SOLR shards=6, each with a replica (i.e. total 12 JVMs) Solrj multi-threaded c

Re: Index version on slave incrementing to higher than master

2012-07-14 Thread Erick Erickson
Gotta admit it's a bit puzzling, and surely you want to move to the 3x versions .. But at a guess, things might be getting confused on the slaves given you have a merge policy on them. There's no reason to have any policies on the slaves; slaves should just be about copying the files from the mast

Re: Solr facet multiple constraint

2012-07-14 Thread Erick Erickson
What do you get when you attach &debugQuery=on? That should show you the parsed query. You might paste that. Erick On Fri, Jul 13, 2012 at 1:14 AM, davidbougearel wrote: > Ok well i know about the complexity that i can put into fq with AND and OR > conditions but at the moment when i put fq=user

Re: Computed fields - can I put a function in fl?

2012-07-14 Thread Erick Erickson
I think in 4.0 you can, but not 3.x as I remember. Your example has the fl as part of the highlight though, is that a typo? Best Erick On Fri, Jul 13, 2012 at 5:21 AM, maurizio1976 wrote: > Hi, > I have 2 fields, one containing a string (product) and another containing a > boolean (show_product)

Re: Groups count in distributed grouping is wrong in some case

2012-07-14 Thread Erick Erickson
what version of Solr are you using? There's been quite a bit of work on this lately, I'm not even sure how much has made it into 3.6. You might try searching the JIRA list, Martijn van Groningen has done a bunch of work lately, look for his name. Fortunately, it's not likely to get a bunch of false

Re: edismax not working in a core

2012-07-14 Thread Erick Erickson
Really hard to say. Try executing your query on the cores with &debugQuery=on and compare the parsed results (for this you can probably just ignore the explain bits of the output, concentrate on the parsed query). Best Erick On Fri, Jul 13, 2012 at 11:25 AM, Richard Frovarp wrote: > I'm having t

Re: Sort by date field = outofmemory?

2012-07-14 Thread Lance Norskog
Sorting requires an array of 4-byte ints, one for each document. If the field is a number or date, this is the only overhead. 80M docs * 4 bytes = 320 mbytes for each sorted field. If it is something else like a string, Lucene also creates an array with one of every unique value. If your query res

Facet on all the dynamic fields with *_s feature

2012-07-14 Thread Rajani Maski
Hi All, Is this issue fixed in solr 3.6 or 4.0: Faceting on all Dynamic field with facet.field=*_s Link : https://issues.apache.org/jira/browse/SOLR-247 If it is not fixed, any suggestion on how do I achieve this? My requirement is just same as this one : http://lucene.472066.n3.n

Custom Hit Collector

2012-07-14 Thread Mike Schultz
As far as I can tell, using field collapsing prevents the use of the queryResultCache from being checked. It's important for our application to have both. There are threads on incorporating custom hit collectors which seems like it could be a way to implement the simplified collapsing I need (just