Re: ​Securing fields and documents with Shield | Elastic

2016-02-04 Thread Philip Durbin
per the wiki page on the > topic: https://wiki.apache.org/solr/SolrSecurity#Document_Level_Security > > Does this fulfill your requirements? > > Regards, >Alex. > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > >

​Securing fields and documents with Shield | Elastic

2016-02-04 Thread Philip Durbin
Does Solr have anything like this? https://www.elastic.co/blog/securing-fields-and-documents-with-shield Or is it on the roadmap?

unexpected hl.fragsize behavior

2015-07-08 Thread Philip Durbin
I increase the fragsize shouldn't I get *more* characters back? And again, why do I only get 27 characters back from fragsize=100? I'm concerned about this because my fix for https://github.com/IQSS/dataverse/issues/2191 is to make fragsize configurable, but I'm getting such unexpected results playing with different fragsize values I'm losing faith in it. We use highlighting heavily to indicate where in the document a query matched. To be clear, I haven't lost faith in Solr itself. It's a great project. I'm just trying to understand what's going on above. Any advice is welcome! Phil p.s. In case it's more readable, I also posted this (long) email as a gist: https://gist.github.com/pdurbin/1a7b55e5714b7424fa94 -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin

boolean for if highlighting snippet contains complete original value or is truncated

2015-07-07 Thread Philip Durbin
:5, "inStock":true, "store":"37.7752,-122.4232", "manufacturedate_dt":"2006-02-13T15:26:37Z", "payloads":"electronics|6.0 memory|3.0", "_version_":1506070286991097856}] }, "highlighting":{ "TWINX2048-3200PRO":{ "name":["CORSAIR XMS 2GB (2 x 1GB) 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) Dual Channel Kit System"]}}} My use case is only including ellipses (...) when the snippet is truncated: https://github.com/IQSS/dataverse/issues/537 Thanks, Phil -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin

Re: Solr JOIN: keeping permission data out of primary documents

2014-11-19 Thread Philip Durbin
On Wed, Nov 19, 2014 at 11:56 AM, Yonik Seeley wrote: > On Wed, Nov 19, 2014 at 9:22 AM, Philip Durbin > wrote: >> On Wed, Nov 19, 2014 at 5:45 AM, Yonik Seeley wrote: >>> On Tue, Nov 18, 2014 at 3:47 PM, Philip Durbin >>> wrote: >>>> Solr JOINs are

Re: Solr JOIN: keeping permission data out of primary documents

2014-11-19 Thread Philip Durbin
On Wed, Nov 19, 2014 at 5:45 AM, Yonik Seeley wrote: > On Tue, Nov 18, 2014 at 3:47 PM, Philip Durbin > wrote: >> Solr JOINs are a way to enforce simple document security, as explained >> by Yonik Seeley at >> http://lucene.472066.n3.nabble.com/document-level-security-

Solr JOIN: keeping permission data out of primary documents

2014-11-18 Thread Philip Durbin
tput means the tests passed: murphy:4d27fea7b431ef3bf4f9 pdurbin$ ./delete {"responseHeader":{"status":0,"QTime":8}} murphy:4d27fea7b431ef3bf4f9 pdurbin$ ./load.before {"responseHeader":{"status":0,"QTime":12}} murphy:4d27fea7b431ef3bf4f9 pdurbin$ ./test.before.all murphy:4d27fea7b431ef3bf4f9 pdurbin$ What do people think? Can anyone load up "after.json", update the FIXME's, and get `test.after.all` to work? Thanks in advance! And thanks again for the original JOIN tip, Yonik! Phil -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin

Re: How to store ACL in solr?

2014-06-10 Thread Philip Durbin
141006.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Philip Durbin Software Developer for http://thedata.org http://www.iq.harvard.edu/people/philip-durbin

strategies for managing Solr indexing failures and retries

2014-06-01 Thread Philip Durbin
indexing problem, I'd like to retry a reasonable number of times and have some reporting of these problems. Thanks in advance for any thoughts or pointers on this topic, Phil -- Philip Durbin Software Developer for http://thedata.org http://www.iq.harvard.edu/people/philip-durbin

solr-user@lucene.apache.org

2014-04-09 Thread Philip Durbin
ecute queries for simple category names like this (eg. >> fq=categories_string:A|B|C). >> >> But some categories have Solr special characters in their names, like: "D (E >> & F)" >> (Real example: "Power supplies (Battery and Solar)&

Re: document level security filter solution for Solr

2014-03-27 Thread Philip Durbin
index and utilize a join. This really > only works when you have a single shard since joins aren't > distributed. > > # the documents, with permissions > id:doc1, perms:public,... > id:doc2, perms:group1 group2 joe, ... > id:doc3, perms:group3, ... > > # documents modeling

document level security filter solution for Solr

2014-03-25 Thread Philip Durbin
. My longer writeup of this topic: https://trello.com/c/5z5PpR4r/50-design-solr-document-level-security-filter-solution -- Philip Durbin Software Developer for http://thedata.org http://www.iq.harvard.edu/people/philip-durbin

creating shards on the fly in a single Solr instance ("shards" query parameter)

2014-03-25 Thread Philip Durbin
min/cores?action=STATUS via https://wiki.apache.org/solr/CoreAdmin#STATUS (or whatever the right command would be to list shards) -- Philip Durbin Software Developer for http://thedata.org http://www.iq.harvard.edu/people/philip-durbin

alternate address for solr-user list, subscription confirmation

2014-03-25 Thread Philip Durbin
p.s. I guess I would suggest that ezmlm send a confirmation email that subscribers are now on the list, if it's easy to do. I'm used to this behavior from mailman. -- Philip Durbin Software Developer for http://thedata.org http://www.iq.harvard.edu/people/philip-durbin

Re: Compatibility between Lucene "Query" and Solr "SolrQuery" in classes SolrJ

2013-02-26 Thread Philip Durbin
ication > will be reduced significantly using Solr. > > Cheers, > Tim > > On Tue, Feb 26, 2013 at 9:30 AM, Philip Durbin wrote: >> I'm exploring a switch from Lucene to Solr in a Java EE webapp. >> >> We have a method called getHitIds() that accepts as a p

Compatibility between Lucene "Query" and Solr "SolrQuery" in classes SolrJ

2013-02-26 Thread Philip Durbin
I'm exploring a switch from Lucene to Solr in a Java EE webapp. We have a method called getHitIds() that accepts as a parameter a Lucene "Query" object: http://lucene.apache.org/core/old_versioned_docs/versions/3_0_0/api/core/org/apache/lucene/search/Query.html My IDE is telling me I can't simpl