Re: KnnQueries and result discrepancy between indexes with the same data

2024-09-12 Thread Marc Davenport
ly and in the same order, then I > > believe that you would get the same results. But we consider this an > > implementation detail rather than a guarantee that Lucene should have. > > > > On Thu, Sep 12, 2024 at 7:03 PM Marc Davenport > > wrote: > > > > > H

KnnQueries and result discrepancy between indexes with the same data

2024-09-12 Thread Marc Davenport
Hello, I've been working on this personalization project using KNN queries and I have a couple questions but one is more pressing for me than the others. 1) Inconsistency between index instances: All of the same documents are loaded into different indexes. They may be loaded in different order, bu

Re: Converting docid to uid

2024-09-11 Thread Marc Davenport
ty efficient and a cache wouldn't > likely win you very much and just lead to trouble, > > On Mon, Aug 5, 2024 at 12:08 PM Marc Davenport > wrote: > > > > Hello, > > Right now our implementation retrieves our UID for our records from the > > topdocs by calling Inde

Converting docid to uid

2024-08-05 Thread Marc Davenport
Hello, Right now our implementation retrieves our UID for our records from the topdocs by calling IndexSearcher.doc(docid, fieldToLoad) (Deprecated) with the UID as the only field. I'm looking to replace this with the appropriate call to IndexSearcher.storedFields(). This feels a little inefficie

KnnFloatVectorQuery: filtering query & rewrite

2024-05-15 Thread Marc Davenport
Hello, I'm exploring some personalization to our sort orders. If I have an original query q which is mostly just a set of term filters, and I want to sort those by distance between some float vector on the document and a supplied user vector. I only see one way to do this. I would create a new bool

Re: Indexing time increase moving from Lucene 8 to 9

2024-04-26 Thread Marc Davenport
ems like you can use your own cache implementation, > similar > > to what you can see in tests - TestDirectoryTaxonomyWriter.java > > or TestConcurrentFacetedIndexing.java. This would > > allow you to plug in the previous implementation (or something even more > > fine-tun

Re: Indexing time increase moving from Lucene 8 to 9

2024-04-22 Thread Marc Davenport
items and match the previous behavior. Marc On Fri, Apr 19, 2024 at 4:39 PM Marc Davenport wrote: > Hello, > Thanks for the leads. I haven't yet gone as far as doing a git bisect, but > I have found that the big jump in time is in the call to > facetsConfig.build(taxonomyWriter

Re: Indexing time increase moving from Lucene 8 to 9

2024-04-19 Thread Marc Davenport
. It'll take some time to build but it's a > logarithmic bisection and you'd know for sure where the problem is. > > D. > > On Thu, Apr 18, 2024 at 11:16 PM Marc Davenport > wrote: > > > Hi Adrien et al, > > I've been doing some investigation today and it

Re: Indexing time increase moving from Lucene 8 to 9

2024-04-18 Thread Marc Davenport
se for this 2x regression. It would > be interesting to look at a profile. > > On Wed, Apr 17, 2024 at 9:32 PM Marc Davenport > wrote: > > > Hello, > > I'm finally migrating Lucene from 8.11.2 to 9.10.0 as our overall build > can > > now support Java 1

Indexing time increase moving from Lucene 8 to 9

2024-04-17 Thread Marc Davenport
Hello, I'm finally migrating Lucene from 8.11.2 to 9.10.0 as our overall build can now support Java 11. The quick first step of renaming packages and importing the new libraries has gone well. I'm even seeing a nice performance bump in our average query time. I am however seeing a dramatic increas

Performance changes within the Lucene 8 branch

2023-12-12 Thread Marc Davenport
returned? Thank you, Marc Davenport

Re: tc-embed-9.0.38 : module does not declare uses

2020-10-09 Thread marc . davenport
On 10/9/20 11:49 AM, Mark Thomas wrote: On 09/10/2020 16:38, marc.davenp...@oracle.com wrote: Hello all, I'm trying to upgrade from 9.0.35 to 9.0.38.  I know that explicit module definitions were added between .37 & .38.  I'm just trying to shake out the changes needed on our end to use it. I

tc-embed-9.0.38 : module does not declare uses

2020-10-09 Thread marc . davenport
Hello all, I'm trying to upgrade from 9.0.35 to 9.0.38.  I know that explicit module definitions were added between .37 & .38.  I'm just trying to shake out the changes needed on our end to use it. It's my tentative grasp on proper use of modules, but I could use some help. Now when we are st

Re: new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-07 Thread marc . davenport
On 10/7/20 2:50 PM, Mark Thomas wrote: On 07/10/2020 19:47, marc.davenp...@oracle.com wrote: On 10/7/20 1:51 PM, Mark Thomas wrote: On 07/10/2020 18:29, marc.davenp...@oracle.com wrote: I'm doing a simple upgrade from 9.0.35 to 9.0.38 embed. I notice some significant changes that I don't see l

Re: new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-07 Thread marc . davenport
On 10/7/20 1:51 PM, Mark Thomas wrote: On 07/10/2020 18:29, marc.davenp...@oracle.com wrote: I'm doing a simple upgrade from 9.0.35 to 9.0.38 embed. I notice some significant changes that I don't see listed in the changelog. There are covered by the entry for bug 64540. Ah, thank you for t

new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-07 Thread marc . davenport
I'm doing a simple upgrade from 9.0.35 to 9.0.38 embed. I notice some significant changes that I don't see listed in the changelog. Until 9.0.37 tomcat-embed-core.jar did not have a module-info. Now in 9.0.38 it does.  This changes the modules I need to require when using it. This may be the r

Re: sling starter maven plugin - placing files to WEB-INF/lib

2019-03-04 Thread Marc Davenport
Thanks Robert. I didn't see anything that indicated I could do this in the code, but I was also open to the idea that I was reading the wrong part of the model parsing. I think the person put things in WEB-INF because they were jars that were not OSGI bundles. I have seen people wrapping jars o

sling starter maven plugin - placing files to WEB-INF/lib

2019-03-02 Thread Marc Davenport
Hello all, In our previous application based on Sling6 we used a maven assembly to build our application war. In the assembly we placed some classes into WEB-INF/lib and made felix provide these. I'm trying to shift us to use the sling start plugin so we can keep our features held together be

Re: Upgrading to Oak 1.10.0 for Sling10

2019-02-25 Thread marc . davenport
Julian, Thanks for even the wildest of speculation. I can use all the help I can get right now.  It looks like the slingevent namespace we don't even need. I inherited this project as a kind of mess. It looks like whoever was migrating this from Sling 6 to Sling 10 had just included the provi

Re: Upgrading to Oak 1.10.0 for Sling10

2019-02-22 Thread marc . davenport
Robert, Thanks for thinking about this issue with me. You asked: do you have any custom code that plugs into the repository initialisation? I can not find any custom classes that are implementing RepositoryInitilizer. We have a custom class which provides the SlingRepository service and a serv

Re: Upgrading to Oak 1.10.0 for Sling10

2019-02-21 Thread marc . davenport
Hello Robert et all, Thank you for your reply.  I have not been able to pair down to a sample project that isolates this issue. I'm currently deploying my application over and over until I hit the failure mode. I haven't identified the code that would have created the missing primary types.  I

Re: Occasional failure initializing Oak repository (Oak 1.10 + Sling10)

2019-02-21 Thread marc . davenport
Angela et all, Thank you for your reply. I still figured out how to consistently reproduce this problem. I'm currently deploying my application over and over until I hit the failure mode. I haven't identified the code that creates the index to see why it might be failing. I could use some idea

Re: Issue Retrieving Custom UserAuthenticationFactory

2019-02-14 Thread marc . davenport
g? I'm currently on 1.6.8. I could not find any JIRA tickets that would address this, but then again my JIRA-foo isn't the best. Much appreciated, Marc Davenport

Upgrading to Oak 1.10.0 for Sling10

2019-02-14 Thread marc . davenport
Hello, We are in the process of migrating from Sling6 to Sling10 (Sling11 came out after we started the initiative). One of the upgrades is moving from Jackrabbit 2 to Jackrabbit Oak.  We've modeled ourselves after the Sling10 starter war. The starter war uses Oak 1.6.8 so we started with tha

Occasional failure initializing Oak repository (Oak 1.10 + Sling10)

2019-02-14 Thread marc . davenport
Hello all, I previously wrote about an encryption issue which could be resolved by moving from Oak 1.6.8 to 1.10.0.  I was surprisingly able to convince my team to make this move now. I've been moderately successful. However, about 1/2 the time, our application will fail to deploy. I can not p

Issue Retrieving Custom UserAuthenticationFactory

2019-02-12 Thread marc . davenport
t does not reflect any service ranking, so the OOTB UAF is always returned first. Is there another configuration I should be doing? I'm currently on 1.6.8.  I could not find any JIRA tickets that would address this, but then again my JIRA-foo isn't the best. Much appreciated, Marc Davenport

Re: Using Salted Hash prevents admin user from logging in.

2019-02-06 Thread Marc Davenport
Thanks for the response Angela, it looks like I am running into OAK-. The extractAlgorithm() was updated to handle algorithms that start with PBKDF2 in that version. I'm not sure I can convince my team to make the jump right now considering that core was broke into modules. I wonder if I c

Using Salted Hash prevents admin user from logging in.

2019-02-04 Thread marc . davenport
Hello all, We are migrating an application that was built on Sling 6 & Jackrabbit to Sling 10 & Oak. We are using Oak 1.6.8 which is the version used in the example sling 10 application.  We had previously built our own authenticators & login plugins to use CryptedSimpleCredentials and keep p

Re: [PHP] File Upload Problem Solving?

2001-09-01 Thread Marc Davenport
#x27;m assuming that you are trying the same file for all people, but if not then the one person that can upload might just be uploading a smaller file than the rest. Just a thought. You may want to use is_uploaded_file() and move_uploaded_file() if you are using PHP 4.0.2 or greater. hope t

[PHP] Regular expressions

2001-08-08 Thread Marc Davenport
an be found? or have a regular expression that can do this? cheers, Marc Davenport -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Advanced Help Needed

2001-04-19 Thread Marc Davenport
inding the site entirely. Has anyone ever seen this? Help would be much Marc Davenport