Github user jimczi commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/384#discussion_r191551615
--- Diff:
lucene/suggest/src/java/org/apache/lucene/search/suggest/document/NRTSuggesterBuilder.java
---
@@ -43,6 +44,9 @@
* in the output
*/
public static final int PAYLOAD_SEP = '\u001F';
--- End diff --
You can set it to TokenStreamToAutomaton.POS_SEP directly and add a test to
ensure that PAYLOAD_SEP and SEP_LABEL are equals to `0x001F` for BWC.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]