Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Commits
82a8849a
Commit
82a8849a
authored
8 months ago
by
Zhibin Mai
Browse files
Options
Downloads
Patches
Plain Diff
update the doc to emphasize that it is required to do re-indexing
parent
cf59576e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!808
Search text with special characters '_' and '.'
Pipeline
#279568
failed
7 months ago
Stage: review
Stage: build
Stage: coverage
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Stage: publish
Changes
2
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/docs/PreviewFeatures.md
+2
-0
2 additions, 0 deletions
docs/docs/PreviewFeatures.md
indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndicesServiceImpl.java
+1
-2
1 addition, 2 deletions
...rg/opengroup/osdu/indexer/service/IndicesServiceImpl.java
with
3 additions
and
2 deletions
docs/docs/PreviewFeatures.md
+
2
−
0
View file @
82a8849a
...
...
@@ -67,6 +67,8 @@ is set by the Partition Service. Here is an example to enable this feature by se
If the property "custom-index-analyzer-enabled" is not created or the property value is set to "false" (String type) in the
given data partition, the default index analyzer will be applied to indexing and search.
After the feature is enabled,
**it will require re-indexing kinds in the given partition in oder to adopt the custom analyzer.**
## Index AsIngestedCoordinates
...
...
This diff is collapsed.
Click to expand it.
indexer-core/src/main/java/org/opengroup/osdu/indexer/service/IndicesServiceImpl.java
+
1
−
2
View file @
82a8849a
...
...
@@ -215,8 +215,7 @@ public class IndicesServiceImpl implements IndicesService {
}
private
IndexSettingsAnalysis
getCustomAnalyzer
()
{
List
<
String
>
mappings
=
List
.
of
(
"_=>\\u0020"
);
MappingCharFilter
mappingCharFilter
=
new
MappingCharFilter
.
Builder
().
mappings
(
mappings
).
build
();
MappingCharFilter
mappingCharFilter
=
new
MappingCharFilter
.
Builder
().
mappings
(
"_=>\\u0020"
).
build
();
PatternReplaceCharFilter
patternReplaceCharFilter
=
new
PatternReplaceCharFilter
.
Builder
().
pattern
(
"(\\D)\\.|\\.(?=\\D)"
).
replacement
(
"$1 "
).
build
();
Map
<
String
,
CharFilter
>
charFilterMap
=
new
HashMap
<>();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment