2424import com .arangodb .ArangoSerializationAccessor ;
2525import com .arangodb .entity .*;
2626import com .arangodb .entity .arangosearch .AnalyzerEntity ;
27+ import com .arangodb .entity .arangosearch .analyzer .SearchAnalyzer ;
2728import com .arangodb .model .*;
2829import com .arangodb .model .arangosearch .AnalyzerDeleteOptions ;
2930import com .arangodb .model .arangosearch .ArangoSearchCreateOptions ;
@@ -704,34 +705,70 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
704705 * @return the created Analyzer
705706 * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
706707 * @since ArangoDB 3.5.0
708+ * @deprecated use {@link this#createSearchAnalyzer(SearchAnalyzer)}}
707709 */
708710 CompletableFuture <AnalyzerEntity > createAnalyzer (AnalyzerEntity options );
709711
712+ /**
713+ * Creates an Analyzer
714+ *
715+ * @param analyzer SearchAnalyzer
716+ * @return the created Analyzer
717+ * @throws ArangoDBException
718+ * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
719+ * @since ArangoDB 3.5.0
720+ */
721+ CompletableFuture <SearchAnalyzer > createSearchAnalyzer (SearchAnalyzer analyzer );
722+
710723 /**
711724 * Gets information about an Analyzer
712725 *
713726 * @param name of the Analyzer without database prefix
714727 * @return information about an Analyzer
715728 * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
716729 * @since ArangoDB 3.5.0
730+ * @deprecated use {@link this#getSearchAnalyzer(String)}}
717731 */
718732 CompletableFuture <AnalyzerEntity > getAnalyzer (String name );
719733
734+ /**
735+ * Gets information about an Analyzer
736+ *
737+ * @param name of the Analyzer without database prefix
738+ * @return information about an Analyzer
739+ * @throws ArangoDBException
740+ * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
741+ * @since ArangoDB 3.5.0
742+ */
743+ CompletableFuture <SearchAnalyzer > getSearchAnalyzer (String name );
744+
720745 /**
721746 * Retrieves all analyzers definitions.
722747 *
723748 * @return collection of all analyzers definitions
724749 * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
725750 * @since ArangoDB 3.5.0
751+ * @deprecated use {@link this#getSearchAnalyzers()}
726752 */
727753 CompletableFuture <Collection <AnalyzerEntity >> getAnalyzers ();
728754
755+ /**
756+ * Retrieves all analyzers definitions.
757+ *
758+ * @return collection of all analyzers definitions
759+ * @throws ArangoDBException
760+ * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
761+ * @since ArangoDB 3.5.0
762+ */
763+ CompletableFuture <Collection <SearchAnalyzer >> getSearchAnalyzers ();
764+
729765 /**
730766 * Deletes an Analyzer
731767 *
732768 * @param name of the Analyzer without database prefix
733769 * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
734770 * @since ArangoDB 3.5.0
771+ * @deprecated use {@link this#deleteSearchAnalyzer(String)}}}
735772 */
736773 CompletableFuture <Void > deleteAnalyzer (String name );
737774
@@ -742,7 +779,29 @@ <T> CompletableFuture<T> getDocument(final String id, final Class<T> type, final
742779 * @param options AnalyzerDeleteOptions
743780 * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
744781 * @since ArangoDB 3.5.0
782+ * @deprecated use {@link this#deleteSearchAnalyzer(String, AnalyzerDeleteOptions)}}}
745783 */
746784 CompletableFuture <Void > deleteAnalyzer (String name , AnalyzerDeleteOptions options );
747785
786+ /**
787+ * Deletes an Analyzer
788+ *
789+ * @param name of the Analyzer without database prefix
790+ * @throws ArangoDBException
791+ * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
792+ * @since ArangoDB 3.5.0
793+ */
794+ CompletableFuture <Void > deleteSearchAnalyzer (String name );
795+
796+ /**
797+ * Deletes an Analyzer
798+ *
799+ * @param name of the Analyzer without database prefix
800+ * @param options AnalyzerDeleteOptions
801+ * @throws ArangoDBException
802+ * @see <a href="https://www.arangodb.com/docs/stable/http/analyzers.html">API Documentation</a>
803+ * @since ArangoDB 3.5.0
804+ */
805+ CompletableFuture <Void > deleteSearchAnalyzer (String name , AnalyzerDeleteOptions options );
806+
748807}
0 commit comments