<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>com.top-logic</groupId>
		<artifactId>tl-ai-parent</artifactId>
		<version>2.1.2</version>
	</parent>

	<artifactId>tl-ai-index</artifactId>
	<description>Hybrid search over the application's objects: words (BM25, German and English) and meaning (vectors) in one Lucene index of its own, kept in step with the knowledge base.</description>

	<licenses>
	  <license>
	    <name>LicenseRef-BOS-TopLogic-1.0</name>
	    <url>https://github.com/top-logic/.github/blob/main/LICENSES/LicenseRef-BOS-TopLogic-1.0.md</url>
	  </license>
	</licenses>

	<properties>
		<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
		<!--
			The Lucene the engine ships (tl-parent-all manages analysis-common, queryparser and
			backward-codecs at this version, but not core and queries). The index is written with this
			version's codec, so it must move together with the engine's Lucene.
		-->
		<lucene.version>9.12.3</lucene.version>
	</properties>

	<dependencies>
		<!-- Read rights, tools, the reading list and the run of a tool call. -->
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-ai-core</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-core</artifactId>
			<version>${lucene.version}</version>
		</dependency>
		<!-- MoreLikeThis for "similar to this object". -->
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-queries</artifactId>
			<version>${lucene.version}</version>
		</dependency>
		<!-- The German and English analysis of the word fields. -->
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-analysis-common</artifactId>
		</dependency>
		<!-- Tests -->
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-basic</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-core</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
	</dependencies>
</project>
