Re: Occur.FILTER clarification

2017-08-11 Thread Ahmet Arslan
Hi Adrien, Thank you for the explanation. Here is what I have ended up with. BooleanQuery.Builder builder = new BooleanQuery.Builder(); builder .add(new MatchAllDocsQuery(), BooleanClause.Occur.FILTER) .add(new TermQuery(term), BooleanClause.Occur.MUST_NOT); Ahmet On Friday, August 11, 2017,

Re: Encryption at lucene index

2017-08-11 Thread Kumaran Ramasubramanian
I got it Erick.. Thank you.. - ​Kumaran R ​ On Fri, Aug 11, 2017 at 10:35 PM, Erick Erickson wrote: > Encrypting the _tokens_ inevitably leads to reduced capabilities BTW. > Trivial example: > I have these tokens in my index > run > runner > running > runs > > Any

Re: Encryption at lucene index

2017-08-11 Thread Erick Erickson
Encrypting the _tokens_ inevitably leads to reduced capabilities BTW. Trivial example: I have these tokens in my index run runner running runs Any non-trivial encryption algorithm will not encrypt the first three letters "run" identically in all three so searching for run* simply won't work. As

Re: Occur.FILTER clarification

2017-08-11 Thread Adrien Grand
FILTER does the opposite of MUST_NOT. Regarding scoring, putting the query in a FILTER or MUST_NOT clause is good enough since such clauses do not need scores. You do not need to add an additional ConstantScoreQuery wrapper. Le mar. 8 août 2017 à 23:06, Ahmet Arslan a

lucene java docs don’t have an index file

2017-08-11 Thread li xiang
When I tried to refer to lucene java docs from Dash app, I found it can’t be install .The developer of the App said that the docs for lucene package don’t have an index file. Can developers of lucene add the index file when generate java docs? By index he means this:

Re: Storing external transaction log-ids in lucene...

2017-08-11 Thread Ravikumar Govindarajan
Many thanks. This is a real cool feature & saves us a lot of time !!! -- Ravi On Thu, Aug 10, 2017 at 9:40 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > That's exactly right! That is the purpose of the sequence numbers returned > by IndexWriter mutations. You can know exactly

Re: Encryption at lucene index

2017-08-11 Thread Kumaran Ramasubramanian
Hi Ishan, thank you :-) - ​- Kumaran R ​ On Mon, Aug 7, 2017 at 10:53 PM, Ishan Chattopadhyaya < ichattopadhy...@gmail.com> wrote: > Harry Ochiai (Hitachi) has some index encryption solution, > https://www.slideshare.net/maggon/securing-solr-search-data-in-the-cloud > I think it is