LUCENE-9392: make FacetsConfig.DELIM_CHAR public

This commit is contained in:
Mike McCandless 2020-06-10 12:37:04 -04:00
parent 2fe713b348
commit 138cdd758a
2 changed files with 11 additions and 2 deletions

View File

@ -204,6 +204,8 @@ Improvements
* LUCENE-9393: Make FunctionScoreQuery use ScoreMode.COMPLETE for creating the inner query weight when * LUCENE-9393: Make FunctionScoreQuery use ScoreMode.COMPLETE for creating the inner query weight when
ScoreMode.TOP_DOCS is requested. (Tomás Fernández Löbbe) ScoreMode.TOP_DOCS is requested. (Tomás Fernández Löbbe)
* LUCENE-9392: Make FacetsConfig.DELIM_CHAR publicly accessible (Ankur Goel))
Optimizations Optimizations
--------------------- ---------------------

View File

@ -496,8 +496,15 @@ public class FacetsConfig {
} }
} }
// Joins the path components together: /**
private static final char DELIM_CHAR = '\u001F'; * Character used to join the category path components together into a single
* drill down term for indexing. Applications and unit-tests can reference this for
* creating their own drill-down terms, or use existing APIs (for example,
* {@link #pathToString}).
*
* @lucene.internal
*/
public static final char DELIM_CHAR = '\u001F';
// Escapes any occurrence of the path component inside the label: // Escapes any occurrence of the path component inside the label:
private static final char ESCAPE_CHAR = '\u001E'; private static final char ESCAPE_CHAR = '\u001E';