java 17 and older lucene (4.x)

2022-09-26 Thread Thomas Matthijs
Hello, Just wondering if anyone has patched lucene 4.x for usage with java 17+ and willing to share their work? anything would be appreciated. No we cannot upgrade lucene, and will likely spend time to try to backport/patch it ourselves, but maybe someone already has? if anyone has interest in

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Thomas Matthijs
On Sat, Jul 13, 2013 at 10:25 AM, VIGNESH S wrote: > Hi, > > I tried indexing in Desktop..It works fine. > The above error loading error comes only in android.. > Any comments.. Don't strip META-INF/services files out of the jars

Re: Taking backup of a Lucene index

2013-06-06 Thread Thomas Matthijs
On Thu, Jun 6, 2013 at 7:38 AM, Lance Norskog wrote: > The simple answer (that somehow nobody gave) is that you can make a copy > of an index directory at any time. Indexes are changed in "generations". > The segment* files describe the current generation of files. All active > indexing goes on i

Re: RAMDirectory and expungeDeletes()/optimize()

2013-05-21 Thread Thomas Matthijs
On Tue, May 21, 2013 at 3:12 PM, Konstantyn Smirnov wrote: > I want to refresh the topic a bit. > > Using the Lucene 4.3.0, I could'n find a method like expungeDeletes() in > the > IW anymore. http://lucene.apache.org/core/4_3_0/core/org/apache/lucene/index/IndexWriter.html#forceMergeDeletes()

Re: Taking backup of a Lucene index

2013-04-17 Thread Thomas Matthijs
On Wed, Apr 17, 2013 at 12:57 PM, Ashish Sarna wrote: > I want to take back-up of a Lucene index. I need to ensure that index files > would not change when I take their backup. > > > I am concerned about the housekeeping/merge/optimization activities which > Lucene performs internally. I am not

Re: Not getting matches for analyzers using CharMappingFilter with Lucene 4.1

2013-02-25 Thread Thomas Matthijs
On Mon, Feb 25, 2013 at 12:19 PM, Thomas Matthijs wrote: > On Mon, Feb 25, 2013 at 11:30 AM, Thomas Matthijs wrote: > >> >> On Mon, Feb 25, 2013 at 11:24 AM, Paul Taylor wrote: >> >>> On 20/02/2013 11:28, Paul Taylor wrote: >>> >>>> Just upd

Re: Not getting matches for analyzers using CharMappingFilter with Lucene 4.1

2013-02-25 Thread Thomas Matthijs
On Mon, Feb 25, 2013 at 11:30 AM, Thomas Matthijs wrote: > > On Mon, Feb 25, 2013 at 11:24 AM, Paul Taylor wrote: > >> On 20/02/2013 11:28, Paul Taylor wrote: >> >>> Just updating codebase from Lucene 3.6 to Lucene 4.1 and seems my tests >>> that use Norma

Re: Not getting matches for analyzers using CharMappingFilter with Lucene 4.1

2013-02-25 Thread Thomas Matthijs
On Mon, Feb 25, 2013 at 11:24 AM, Paul Taylor wrote: > On 20/02/2013 11:28, Paul Taylor wrote: > >> Just updating codebase from Lucene 3.6 to Lucene 4.1 and seems my tests >> that use NormalizeCharMap for replacing characters in the anyalzers are not >> working. >> >> bump, anybody I thought a s

Re: lucene-4.0: QueryWrapperFilter & docBase

2012-10-08 Thread Thomas Matthijs
On Mon, Oct 8, 2012 at 2:29 PM, Thomas Matthijs wrote: > On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote: >> Hi, >> >> This is a known problem currently. I think there is already an issue open, >> so this was not solved for 4.0 (I don't have the issu

Re: lucene-4.0: QueryWrapperFilter & docBase

2012-10-08 Thread Thomas Matthijs
On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote: > Hi, > > This is a known problem currently. I think there is already an issue open, so > this was not solved for 4.0 (I don't have the issue no available at the > moment). > > My plan to fix this is to make Filters behave like queries (with

Re: lucene-4.0: QueryWrapperFilter & docBase

2012-10-08 Thread Thomas Matthijs
On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote: > Hi, > > This is a known problem currently. I think there is already an issue open, so > this was not solved for 4.0 (I don't have the issue no available at the > moment). > > My plan to fix this is to make Filters behave like queries (with

lucene-4.0: QueryWrapperFilter & docBase

2012-10-08 Thread Thomas Matthijs
Hello, I have some custom queries & scorer that need to able to construct the "global" docIds (doc + docBase). But when i use these in a QueryWrapperFilter they no longer work, because QueryWrapperFilter.getDocIdSet uses a "private context" (context.reader().getContext();) which always has a docB

Re: Highlighter IOOBE with modified HyphenationCompoundWordTokenFilter

2012-10-04 Thread Thomas Matthijs
And to include the code On Thu, Oct 4, 2012 at 3:52 PM, Markus Jelsma wrote: > I forgot to add that this is with today's build of trunk. > > -Original message- >> From:Markus Jelsma >> Sent: Thu 04-Oct-2012 15:42 >> To: java-user@lucene.apache.org >> Subject: Highlighter IOOBE with modif