new docs require re-ingesting for langchain4j?

40 views
Skip to first unread message

William Burke

unread,
Jul 19, 2025, 4:11:06 PMJul 19
to Quarkus Development mailing list
I have a set of new RAG docs.  It seems if I only ingest these new docs, the old vectors are overridden and embedding searches only go off of the new RAG docs.

Do you have to re-ingest older docs too when you bring in a new additional set of docs?  Or is there some special API/config I'm missing here?

Thanks,

Bill

--
Bill Burke
Red Hat

Georgios Andrianakis

unread,
Jul 21, 2025, 2:28:31 AMJul 21
to quark...@googlegroups.com, Dmytro Liubarskyi

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjSibbKM1py8PrTB7%2Bq0pyZiDBF8u8EPnY1Rm76HB-OBQQ%40mail.gmail.com.


--

Georgios Andrianakis

Independent Contractor


Dmytro Liubarskyi

unread,
Jul 21, 2025, 4:46:37 AMJul 21
to Georgios Andrianakis, quark...@googlegroups.com
Hi,

In general, there should be no override, but I need a bit more info to answer for sure.
Which embedding store are you using? What is your config? A code snippet would be great.

Dmytro Liubarskyi

unread,
Jul 21, 2025, 4:46:37 AMJul 21
to Quarkus Development mailing list
Hi,

In general, there should be no override, but I need a bit more info to answer for sure.
Which embedding store are you using? What is your config? A code snippet would be great.

William Burke

unread,
Jul 21, 2025, 9:29:39 AMJul 21
to quark...@googlegroups.com, Georgios Andrianakis

Dmytro Liubarskyi

unread,
Jul 21, 2025, 12:15:41 PMJul 21
to Quarkus Development mailing list
Hi, I just did a simple test of ingesting into PgVector multiple times, and it works fine.
Could it be because you unintentionally call embeddingStore.removeAll() here in-between ingestions?

Emmanuel Bernard

unread,
Jul 22, 2025, 4:30:06 AMJul 22
to quark...@googlegroups.com, Georgios Andrianakis

William Burke

unread,
Jul 22, 2025, 9:47:04 AMJul 22
to quark...@googlegroups.com, Georgios Andrianakis
yeah, that was only on startup.  I had another method that would upload and add items to the db and doclist during runtime.  I swear I 100% thought that I wasn't calling load(), but I can't replicate the issue. Probably a combination of bad eyes and human hallucinations.

William Burke

unread,
Jul 23, 2025, 9:35:29 AMJul 23
to quark...@googlegroups.com
I wasted your time.  Apologies.  That must have been it.



Reply all
Reply to author
Forward
0 new messages