10000 deprecated fulltext indexes · arangodb/spring-data@784d21b · GitHub
[go: up one dir, main page]

Skip to content

Commit 784d21b

Browse files
committed
deprecated fulltext indexes
1 parent 6751a11 commit 784d21b

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

src/main/java/com/arangodb/springframework/annotation/FulltextIndex.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
@Repeatable(FulltextIndexes.class)
3737
@Retention(RetentionPolicy.RUNTIME)
3838
@Target({ ElementType.TYPE })
39+
@Deprecated
3940
public @interface FulltextIndex {
4041

4142
/**

src/main/java/com/arangodb/springframework/annotation/FulltextIndexes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
*/
3232
@Retention(RetentionPolicy.RUNTIME)
3333
@Target({ ElementType.TYPE })
34+
@Deprecated
3435
public @interface FulltextIndexes {
3536

3637
FulltextIndex[] value();

src/main/java/com/arangodb/springframework/core/mapping/ArangoPersistentEntity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public interface ArangoPersistentEntity<T>
5353

5454
Collection<GeoIndex> getGeoIndexes();
5555

56+
@Deprecated
5657
Collection<FulltextIndex> getFulltextIndexes();
5758

5859
Optional<TtlIndex> getTtlIndex();
@@ -61,6 +62,7 @@ public interface ArangoPersistentEntity<T>
6162

6263
Collection<ArangoPersistentProperty> getGeoIndexedProperties();
6364

65+
@Deprecated
6466
Collection<ArangoPersistentProperty> getFulltextIndexedProperties();
6567

6668
Optional<ArangoPersistentProperty> getTtlIndexedProperty();

src/main/java/com/arangodb/springframework/core/mapping/DefaultArangoPersistentEntity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ public Collection<GeoIndex> getGeoIndexes() {
221221
}
222222

223223
@Override
224+
@Deprecated
224225
public Collection<FulltextIndex> getFulltextIndexes() {
225226
final Collection<FulltextIndex> indexes = getIndexes(FulltextIndex.class);
226227
Optional.ofNullable(findAnnotation(FulltextIndexes.class))
@@ -253,6 +254,7 @@ public Collection<ArangoPersistentProperty> getGeoIndexedProperties() {
253254
}
254255

255256
@Override
257+
@Deprecated
256258
public Collection<ArangoPersistentProperty> getFulltextIndexedProperties() {
257259
return fulltextIndexedProperties;
258260
}

0 commit comments

Comments
 (0)
0