Do you mean a range (e.g. [4 TO 17]) or a prefix (e.g. 10*)? For range
you need to index it as a number. For prefix, string is probably
better. Than, just use standard query parameters.
Regards,
Alex.
Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrera
if i wanna search on subsets of number,what can i do?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-system-and-numbers-tp482519p4057134.html
Sent from the Solr - User mailing list archive at Nabble.com.
t; Sent: Monday, June 9, 2008 5:36:34 PM
> Subject: Re: Solr system and numbers
>
> Not sure. Perhaps it can be done by training a language model and treating
> phone numbers as named entities? Not sure if it would work. But I know
> there
> are a few NLP people subscribed, m
Nutch
- Original Message
> From: Cam Bazz <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, June 9, 2008 4:24:48 PM
> Subject: Re: Solr system and numbers
>
> I got a similar question:
> how would one normalize or even detect if a string is a
, 9 Jun 2008 05:58:50 -0700
> > From: [EMAIL PROTECTED]
> > Subject: Re: Solr system and numbers
> > To: solr-user@lucene.apache.org
> >
> > Hi,
> > Solr/Lucene can treat phone numbers as strings. If you want to clean
> them up and normalize them outside
great info ,,, thanks a lot all
> Date: Mon, 9 Jun 2008 05:58:50 -0700
> From: [EMAIL PROTECTED]
> Subject: Re: Solr system and numbers
> To: solr-user@lucene.apache.org
>
> Hi,
> Solr/Lucene can treat phone numbers as strings.
Hi,
Solr/Lucene can treat phone numbers as strings. If you want to clean them up
and normalize them outside of Solr, you can do that and feed them into Solr as
pure numbers.
How the phone numbers will be treated after you pump them into Solr depends on
the analyzer you choose to use for this d