: Re: Index / Query IP Address as number.
I have a text field containing a large piece of mixed text , like :
test test 12/12/2001 12345 192.168.1.1 1234324
I need to create a copy field which will capture only all IPs from the text
( may be more than one IP ) .
What will be the best way to do
WordDelimiter to not break down the IP , so as
alternative I will use a copy field .
--
View this message in context:
http://lucene.472066.n3.nabble.com/Index-Query-IP-Address-as-number-tp4136760p4136974.html
Sent from the Solr - User mailing list archive at Nabble.com.
index :
" />
--
View this message in context:
http://lucene.472066.n3.nabble.com/Index-Query-IP-Address-as-number-tp4136760p4136971.html
Sent from the Solr - User mailing list archive at Nabble.com.
Use a PatternReplaceCharFilterFactory to map the periods to empty strings, then
use a KeywordTokenizer and a string field type. If you want to sort it or do
range queries, you might use an integer field.
wunder
On May 18, 2014, at 12:20 PM, SolrUser1543 wrote:
> This question was raised here
ult.)
-- Jack Krupansky
-Original Message-
From: SolrUser1543
Sent: Sunday, May 18, 2014 3:20 PM
To: solr-user@lucene.apache.org
Subject: Index / Query IP Address as number.
This question was raised here for a few times , but no final solution was
provided .
I'am using a combi
have the IP as num , without breaking it on parts .
( have only 19216813 )
Thanks .
--
View this message in context:
http://lucene.472066.n3.nabble.com/Index-Query-IP-Address-as-number-tp4136760.html
Sent from the Solr - User mailing list archive at Nabble.com.