hidingmyname opened a new issue, #16825:
URL: https://github.com/apache/lucene/issues/16825
### Description
**Location** (lucene @ main f94888d85c1):
`lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java:112`
**Current text**
```
as a StringField and a SortedSetDVField
```
**Problem**: No class `SortedSetDVField` exists; the field used is
`SortedSetDocValuesField`.
**Suggested fix**: as a StringField and a SortedSetDocValuesField
```diff
---
a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java
+++
b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java
@@ -110,5 +110,5 @@
/**
- * Field name used for the indexed context, as a StringField and a
SortedSetDVField, for
+ * Field name used for the indexed context, as a StringField and a
SortedSetDocValuesField, for
* filtering.
*/
```
**Already fixed in Lucene.NET**: apache/lucenenet@9a6f97343
**How Lucene.NET fixed it**: commit `9a6f9734347` (2016-09-16) "Updated
Suggest documentation links to code elements and made corrections.", file
`src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs`
```diff
@@ -70,13 +70,13 @@ public class AnalyzingInfixSuggester : Lookup,
IDisposable
/// <summary>
/// Field name used for the indexed text, as a
- /// StringField, for exact lookup.
+ /// <see cref="StringField"/>, for exact lookup.
/// </summary>
protected internal const string EXACT_TEXT_FIELD_NAME = "exacttext";
/// <summary>
/// Field name used for the indexed context, as a
- /// StringField and a SortedSetDVField, for filtering.
+ /// <see cref="StringField"/> and a <see
cref="SortedSetDocValuesField"/>, for filtering.
/// </summary>
protected internal const string CONTEXTS_FIELD_NAME = "contexts";
```
I can submit a PR for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]