apache / apache/lucene

"cz" (vs ISO langauge code "cs") for Czech analysis package? [LUCENE-6366]

Open
#7,426 7 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

As noted by Eduard Moraru on the solr-user mailing list, the sample fieldtypes Solr provides for dealing with the Czech use "cz" as a fieldType, dynamicField, and stopwords file naming convention – but "cz" isn't the language code for Czech – the correct langauge code is "cs".

Solr's naming convention here comes directly from the lucene analysis package name for the Czech analysis classes: `org.apache.lucene.analysis.cz;` so before making any changes in the Solr sample configs ([SOLR-7267](https://issues.apache.org/jira/browse/SOLR-7267)), we should probably clarify if/why the lucene package name is like this.

---
Migrated from [LUCENE-6366](https://issues.apache.org/jira/browse/LUCENE-6366) by Chris M. Hostetter (@hossman), 1 vote, updated Mar 19 2015
Linked issues:
- [SOLR-7267](https://issues.apache.org/jira/browse/SOLR-7267)

Contributor guide

Open the contributing guide

Research direction

Start by reading LUCENE-6366 and the linked SOLR-7267, then inspect the Czech analysis package org.apache.lucene.analysis.cz and the sample Solr fieldType, dynamicField, and stopwords naming mentioned in the issue. Done requires an agreed explanation of why the package uses cz and a clear decision on whether the related Solr naming should change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.