Re: Split package in Lucene 8.2.0

2019-09-06 Thread Philippe Cadé
to avoid this issue. Philippe On Thu, Sep 5, 2019 at 5:29 PM Uwe Schindler wrote: > Hi, > > this issue is known and cannot be solved by just patching lucene, it > affects the whole lucene infrastrcuture. A change on this would break > almost any app out there so it needs to be done on

Split package in Lucene 8.2.0

2019-09-05 Thread Philippe Cadé
likely just moving classes in distinct packages which should not be too complex. Philippe [1] https://github.com/AdoptOpenJDK/jsplitpkgscan

Memory consumption on lucene 2.4

2014-11-21 Thread Philippe Kernévez
by their index size what is good tool to do that (Luce?) and how ca we do such request ? Regards, Philippe -- Philippe Kernévez Directeur technique (Suisse), pkerne...@octo.com +41 79 888 33 32 Retrouvez OCTO sur OCTO Talk : http://blog.octo.com OCTO Technology http://www.octo.com

Custom similarity calculation ignoring fieldnorm

2010-11-18 Thread Philippe
Dear Lucene group, I wrote my own Scorer by extending Similarity. The scorer works quite well, but I would like to ignore the fieldnorm value. Is this somehow possible during search time? Or do I have to add a field indexed with no_norm? Best, Philippe

Restore documents marked as deleted

2010-10-06 Thread Philippe Thomas
the index leads to deletion of these documents. However, is there a possibility to avoid this? Or do I have to re-index all documents again? Best, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org

Rank by Number of token

2010-08-11 Thread Philippe
Hi all, I want to rank my query by the number of tokens in a field. What would be the best way to implement such a ranking? Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org

Rank results only on some fields

2010-07-31 Thread Philippe
? Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Get all terms of a specific field

2010-07-28 Thread Philippe
. However, I did not fully understood your first idea. During indexing I can store the TermVectors on disk. What do I have to do during retrieval? I mean, does lucene automatically profit from the TermVectors? Or do I have to use something different instead of getValues(). Regards, Philippe Am

Get all terms of a specific field

2010-07-27 Thread Philippe
and iterating the scoredocs is quite costly. So is there a better/faster way to perform this? Cheers, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h

Fastest way to get number of matching documents

2010-07-26 Thread Philippe
Hi, for some queries I'm only interested in the number of matching documents. Is there a better/faster way to perform such a query, instead of retrieving all TopDocs and counting the number of totalHits [1]? And is it possible/worthwhile to deactivate ranking? Cheers, Philippe [1

Re: Fastest way to get number of matching documents

2010-07-26 Thread Philippe
Hi Paul, thanks for the code. It is much faster than the implementation before. Cheers, Philippe Am 26.07.2010 16:25, schrieb Paul Libbrecht: Le 26-juil.-10 à 16:01, Michael McCandless a écrit : You can make a custom Collector? Ie, it'd just increment a counter for each hit. As long

Fast way to get all Terms in a matching query

2010-07-26 Thread Philippe
around a QueryWrapperFilter. However, I wanted to know if anybody is aware of a faster solution? Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user

Re: Different ranking results

2010-07-22 Thread Philippe
StandardAnalyzer(Version.LUCENE_29)); 1.) Query q = parser.parse(lucene); 2.) Query q = parser.parse(TITLE:lucene OR BOOK:lucene); Regards, philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional

Re: Different ranking results

2010-07-22 Thread Philippe
Well, that's difficult at the moment as I can also just reproduce this error for some few cases. But I will try to generate such an example.. Cheers, Philippe Am 22.07.2010 12:34, schrieb Ian Lea: No, I don't have an explanation. Perhaps a minimal self-contained program or test case

Different ranking results

2010-07-21 Thread Philippe
); 2.) Query q = parser.parse(TITLE:lucene OR BOOK:lucene); Regards, philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Get lengthNorm of a field

2010-07-19 Thread Philippe
Hi, is there a possibility to retrieve the lengthNorm for all (or a specific) fields in a specific document? Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e

Re: Get lengthNorm of a field

2010-07-19 Thread Philippe
method. Cheers, Philippe -Yonik http://www.lucidimagination.com Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h

Sort by the number of matching fields

2010-01-21 Thread Philippe
interested in documents containing the ids (5,6) so Document2 should be ranked higher than Document1. What would be the best way to perform this? Regards, Philippe - To unsubscribe, e-mail: java-user-unsubscr

Re: Sort by the number of matching fields

2010-01-21 Thread Philippe
. The Problem is that the list of relevant ids is often changing... Regards, Philippe Ian Lea schrieb: I'm not sure I understand what you are asking, but if you search for id:5 id:6 then I think doc2 will be ranked higher, because it contains both fields. Or are you saying you want to rank based

RE: Is Lucene Java trunk still stable for production code?

2007-03-15 Thread Jean-Philippe Robichaud
, but that's just me! -Grant On Mar 14, 2007, at 5:12 PM, Jean-Philippe Robichaud wrote: Hello Dear Lucene Users! Back in the old days (well, last year) the lucene/java/trunk subversion path was always stable enough for everyone to use into production code. Now, with the 2.0/2.1/2.2

RE: Is Lucene Java trunk still stable for production code?

2007-03-15 Thread Jean-Philippe Robichaud
That's really wonderful. Everything gets cleaner now. Thanks, I mean really Thanks, for all the hard work that goes in Lucene code + Doc + Processes + Mailing list. Lucene is really something I refer other as what (open source) software development should be. I'll go with lucene_2_1 ! Jp

Is Lucene Java trunk still stable for production code?

2007-03-14 Thread Jean-Philippe Robichaud
Hello Dear Lucene Users! Back in the old days (well, last year) the lucene/java/trunk subversion path was always stable enough for everyone to use into production code. Now, with the 2.0/2.1/2.2 braches, is it still the case? In December, I 'ported' my app to use the lucene 2.0 release.

RE: Catalog backend for document stored fields?

2006-11-14 Thread Robichaud, Jean-Philippe
[sorry for the long delay for my answer, we are having some issues with our mail server...] Thanks for your comment. Yes it would make sense if the log files were not so big. In fact, I'm only indexing a subset of the log information. Because I store the information in Lucene, it is easier and

RE: Catalog backend for document stored fields?

2006-10-23 Thread Robichaud, Jean-Philippe
: Friday, October 20, 2006 5:00 PM To: java-user@lucene.apache.org Subject: Re: Catalog backend for document stored fields? On 10/20/06, Robichaud, Jean-Philippe [EMAIL PROTECTED] wrote: 3- Any ideas on how else I could do this? I'm fully open to discussion! How about not storing

Catalog backend for document stored fields?

2006-10-20 Thread Robichaud, Jean-Philippe
! Jp _ JEAN-PHILIPPE ROBICHAUD Speech Scientist Professional Services NUANCE COMMUNICATIONS, INC. 1500 University, suite 935 Montreal, Quebec H3A 3S7 514 904 7800 Office 514 843 6872 Fax http://www.nuance.com/ NUANCE.COM

RE: Occurence (freq) and ordering

2006-05-02 Thread Philippe Deslauriers
Thanks for the Field.setOmitNorms(true) tip! Regarding the Similarity implementation I am trying to do, somehow it does not work. Here's what I understand: Scorer implementation uses the method defined in Similarity, to compute score. (the formula expressed in

TermFreqVector and performance, index size

2006-04-27 Thread Philippe Deslauriers (Beetext)
are the OFFSETS and POSITIONS used for? Do I need it for Highlighting? Can I create the TermFreqVector on the fly for a document, or do I have to include them in the index? Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED

Occurence (freq) and ordering

2006-04-27 Thread Philippe Deslauriers (Beetext)
it in 1.9? I am just starting to read on Similarity, weights etc. Can someone give me a heads up? Thanks! Philippe Deslauriers

Optimizing insertion of duplicate documents

2005-09-06 Thread Robichaud, Jean-Philippe
Hi Everyone, I have a special scenario where I frequently want to insert duplicates documents in the index. For example, I know that I want 400 copies of the same document. (I use the docboost of something else so I can't just add one document and set the docboost to 400). I would like to

Writting a custom query/indexSearcher

2005-07-18 Thread Robichaud, Jean-Philippe
Hi everyone. I need a special query type that looks like a phrase query but with special logic inside (like allowing inversions of certain terms only and not of others, special score manipulation on certain 'events', ...) I wonder what approach I should take? How does someone build a custom

SimilarityDelegator examples ?

2005-06-10 Thread Robichaud, Jean-Philippe
Hi Everyone, I've been using Lucene a lot and I would like to know how the SimilarityDelegator should be used. I would like to override only the lengthNorm member of the DefaultSimilarity and I understand that this is exactly the purpose of SimilarityDelegator ? Am I right? Does this class

RE: ACLs and Lucene

2005-05-30 Thread Robichaud, Jean-Philippe
What about: http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/luce ne/index/ParallelReader.java?rev=169859view=markup Jp -Original Message- From: Bruce Ritchie [mailto:[EMAIL PROTECTED] Sent: Monday, May 30, 2005 11:26 AM To: java-user@lucene.apache.org Subject: RE:

RE: PerFieldSimilarity

2005-05-05 Thread Robichaud, Jean-Philippe
@lucene.apache.org Subject: Re: PerFieldSimilarity Robichaud, Jean-Philippe wrote: How cool, I did not knew that... that may help me... If I understand you correctly, I can create a boolean query where each clause use a different similarity ? Yes. That would look something like: BooleanQuery

PerFieldSimilarity

2005-05-03 Thread Robichaud, Jean-Philippe
Hi Everyone, I've been searching the archive without success to answer this one: is it possible to specify one similarity class per field, just like we can do with an analyzer ? I know I can change the similarity of the searcher, but that restrict me to break some complex queries into different

Implementation of a ScoreObject ?

2005-04-27 Thread Robichaud, Jean-Philippe
, Exceptional Results Jean-Philippe Robichaud :: Solution Speech Scientist ScanSoft :: Professional Services 5100-75 Queen Street, Montreal, QC P +1 514 843 4884

RE: SPECIFIC HIT

2005-03-15 Thread Robichaud, Jean-Philippe
___ SpeechWorks solutions from ScanSoft. Inspired Applications, Exceptional Results Jean-Philippe Robichaud :: Solution Speech Scientist ScanSoft :: Professional Services 5100-75 Queen Street, Montreal, QC P +1 514 843 4884 -Original Message