Perlfect Solutions
 

[Perlfect-search] indexing an searching for numbers -oops

David Turley dturley@pobox.com
Thu, 25 Jan 2001 14:30:28 -0500 (EST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's what I thought and I did just that (and set the min length to 2, and
reindexed.) If I search for 209.240.86.65 and use the all words option, the
results are:

"Your search for 209 240 86 65 did not produce any results." Notice it seems to
be still making the dot into a space. If I use the any words option:

"Your search for 209 240 86 65 resulted in 240 matches:" but still it is not
the whole string, just pages that have any of those numbers.


On 25-Jan-2001 Daniel Naber wrote:
> On 2001-01-25 18:10, you wrote:
> 
> 
>> The real problem I wanted to write about is that I need to search on
>> terms like "205.163.40.2"
> 
> I guess it should work if you replace this line in indexer.pl
>   ${$buffer} =~ tr/a-zA-Z0-9_/ /cs;
> 
> by this line (there's a dot after the underscore, that's the only 
> difference)
>   ${$buffer} =~ tr/a-zA-Z0-9_./ /cs;
> 
> Regards
>  Daniel
> 
> -- 
> Daniel Naber, Paul-Gerhardt-Str. 2, 33332 Guetersloh, Germany
> Tel. 05241-59371, Mobil 0170-4819674
> _______________________________________________
> perlfect-search mailing list
> perlfect-search@perlfect.com
> To unsubscribe, set other personal options or view the list archives please
> visit:
> 
> 

David Turley
dturley@pobox.com
http://www.binary.net/dturley/
Public Key ID: 0x2345170C

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6cH7U3EUw2iNFFwwRAoojAJ9ZwiU5aunveKMzpO/AWmDwDsxOngCfcA/X
vE1Sre0um6TvQto3xl9EijA=
=O8rg
-----END PGP SIGNATURE-----