lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: i18n numbers
Date Thu, 26 Mar 2009 21:55:18 GMT
What does the front end look like? Is it a web page or a custom app? And
do you expect your users to actually enter the field name? I'd be reluctant
to allow any but the geekiest of users to enter the Lucene syntax (i.e. the
names). Users shouldn't know anything about the underlying structure. Not
to mention the headaches if you ever want to change it.

So, let's assume an HTML page. *You* know what the underlying field
is no matter what the label on the entry field, so you should be able
to construct the query with the proper field names.

Or I don't understand your problem at all, which is not unusual <G>..


On Thu, Mar 26, 2009 at 5:32 PM, Marcel Overdijk

> First of all I'm new into Lucene. I'm experimenting right now with it in
> combination with Hibernate Search.
> What I'm wondering is of I can index numbers related to i18n.
> E.g. I have a Book entity with a price attribute.
> A book with a price of 19.99 can be found while searching for price:19.99.
> The thing is Dutch users will search for 19,99 (different decimal symbol).
> How can this be handled.
> Furthermore, Dutch users will search for something like prijs:19,99.
> Can this be done with aliases or something. The problem is maybe one day I
> want to support German language as well.
> The front-end app can be translated by simply adding i18n resource bundles.
> Is something like this also possible for searching within Lucene?
> Cheers,
> Marcel
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message