[
https://issues.apache.org/jira/browse/SOLR-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Bell updated SOLR-1788:
----------------------------
Description:
Is there a way to remove duplicates in a multiValue field? For example if I add
the following - is there a way to remove the duplicates? If not directly in
schema.xml how about in DIH?
<arr name="options">
<str>Full Bathrooms = 2</str>
<str>Bedrooms = 2</str>
<str>Bedrooms = 2</str>
<str>Full Bathrooms = 2</str>
<str>Property Address = Orange,92805</str>
<str>Property Type = Apartments</str>
</arr>
This would be changed to:
<arr name="options">
<str>Bedrooms = 2</str>
<str>Full Bathrooms = 2</str>
<str>Property Address = Orange,92805</str>
<str>Property Type = Apartments</str>
</arr>
was:
Is there a way to remove duplicates in a multiValue field? For example if I add
the following - is there a wa to remove the duplicates? If not directly ins
schema.xml how about in DIH?
<arr name="options">
<str>Full Bathrooms = 2</str>
<str>Bedrooms = 2</str>
<str>Bedrooms = 2</str>
<str>Full Bathrooms = 2</str>
<str>Property Address = Orange,92805</str>
<str>Property Type = Apartments</str>
</arr>
This would be changed to:
<arr name="options">
<str>Bedrooms = 2</str>
<str>Full Bathrooms = 2</str>
<str>Property Address = Orange,92805</str>
<str>Property Type = Apartments</str>
</arr>
> Remove duplicate field in schema.xml
> ------------------------------------
>
> Key: SOLR-1788
> URL: https://issues.apache.org/jira/browse/SOLR-1788
> Project: Solr
> Issue Type: New Feature
> Reporter: Bill Bell
>
> Is there a way to remove duplicates in a multiValue field? For example if I
> add the following - is there a way to remove the duplicates? If not directly
> in schema.xml how about in DIH?
> <arr name="options">
> <str>Full Bathrooms = 2</str>
> <str>Bedrooms = 2</str>
> <str>Bedrooms = 2</str>
> <str>Full Bathrooms = 2</str>
> <str>Property Address = Orange,92805</str>
> <str>Property Type = Apartments</str>
> </arr>
> This would be changed to:
> <arr name="options">
> <str>Bedrooms = 2</str>
> <str>Full Bathrooms = 2</str>
> <str>Property Address = Orange,92805</str>
> <str>Property Type = Apartments</str>
> </arr>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.