lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Which analyzer
Date Thu, 07 Feb 2008 23:19:38 GMT
*How* do you want to search them? If it's simply exact matches, then
WhitespaceAnalyzer should work fine.

But if you want to, for example, look at date ranges or number
ranges, you'll have to be more clever.

What do you want to accomplish?

Best
Erick

On Feb 7, 2008 3:25 PM, <spring@gmx.eu> wrote:

> Hi,
>
> I have a huge number of documents which contain mainly numbers and dates
> (german format dd.MM.yyyy), like this:
>
> Tgr. gilt ab           01.01.99 01.01.99 01.01.99 01.01.99 01.01.99
> 01.01.99
> 01.01.99 01.01.99 01.01.99 01.01.99 01.01.99 01.01.99  46X0     01
> 0000048010108    0512070010
>  Gefahrenklass                01       01       01       01       01
> 01       01       01       01       01       01       01  46X0     01
> 0000049010108    0512070010
>  Bezahlte Std.            152,25   152,25   152,25   152,25   152,25
> 152,25   152,25   152,25   152,25   152,25   152,25   152,25  46X0     01
> 0000050010108    0512070010
>  Woech.Arbzeit             35,00    35,00    35,00    35,00    35,00
> 35,00    35,00    35,00    35,00    35,00    35,00    35,00  46X0     01
> 0000051010108    0512070010
>  Monatl.Arbzt.            152,25   152,25   152,25   152,25   152,25
> 152,25   152,25   152,25   152,25   152,25   152,25   152,25
>
> Which anlyzer should I use when someone searches for a certain number or
> date?
>
> Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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