# Synonyms for Numeric Values / Or Some Analyzer?

**URL:** <https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935>\
**Category:** Elasticsearch\
**Created:** [February 27, 2013, 8:11pm UTC](https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935 "2013-02-27T20:11:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Treher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_treher/32/45243_2.png) [@Justin\_Treher](https://discuss.elastic.co/u/Justin_Treher)\
**Post date:** [February 27, 2013, 8:11pm UTC](https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935/1 "2013-02-27T20:11:14Z")

</div>

I'd like to be able to have all numbers from the input and source  
normalized to a standard. For instance, five should be 5 and one third  
could be 1/3 (or the other way around). Numbers are very important in our  
search results.

Does anyone know of a filter that has this kind of action or is this a roll  
your own deal? I guess synonyms would be a good alternative.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [February 27, 2013, 8:19pm UTC](https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935/2 "2013-02-27T20:19:15Z")

</div>

We use a synonym filter for the reasons.

one, 1, first, 1st  
two, 2, second, 2nd, ii  
three, 3, third, 3rd, iii  
...

On Wed, Feb 27, 2013 at 12:11 PM, [jtreher@gmail.com](mailto:jtreher@gmail.com) wrote:

> I'd like to be able to have all numbers from the input and source  
> normalized to a standard. For instance, five should be 5 and one third  
> could be 1/3 (or the other way around). Numbers are very important in our  
> search results.
> 
> Does anyone know of a filter that has this kind of action or is this a  
> roll your own deal? I guess synonyms would be a good alternative.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Justin\_Treher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_treher/32/45243_2.png) [@Justin\_Treher](https://discuss.elastic.co/u/Justin_Treher)\
**Post date:** [February 27, 2013, 8:21pm UTC](https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935/3 "2013-02-27T20:21:18Z")

</div>

Sweet, thanks.  
On Feb 27, 2013 3:19 PM, "Ivan Brusic" [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> We use a synonym filter for the reasons.
> 
> one, 1, first, 1st  
> two, 2, second, 2nd, ii  
> three, 3, third, 3rd, iii  
> ...
> 
> On Wed, Feb 27, 2013 at 12:11 PM, [jtreher@gmail.com](mailto:jtreher@gmail.com) wrote:
> 
> > I'd like to be able to have all numbers from the input and source  
> > normalized to a standard. For instance, five should be 5 and one third  
> > could be 1/3 (or the other way around). Numbers are very important in our  
> > search results.
> > 
> > Does anyone know of a filter that has this kind of action or is this a  
> > roll your own deal? I guess synonyms would be a good alternative.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/26Hk6Lp-T0g/unsubscribe?hl=en-US](https://groups.google.com/d/topic/elasticsearch/26Hk6Lp-T0g/unsubscribe?hl=en-US)  
> .  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:49am UTC](https://discuss.elastic.co/t/synonyms-for-numeric-values-or-some-analyzer/10935/4 "2017-07-06T02:49:09Z")

</div>


