lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Searching sub string
Date Wed, 30 Jan 2008 02:53:14 GMT
Wolfgang is right, but you can also enable the leading wildcard in the QueryParser, I believe,
plus you can index reversed tokens and stick to the trailing wildcards.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
From: Wolfgang T├Ąger <wtaeger@epo.org>
To: general@lucene.apache.org
Sent: Monday, January 28, 2008 2:43:06 AM
Subject: Re: Searching sub string

Hi 
Moran,

In 
case 
that
- 
you 
don't 
need 
other 
Lucene 
functions 
or 
ranking
- 
performance 
is 
critical
- 
your 
database 
does 
not 
fit 
into 
RAM
you 
may 
have 
a 
look 
at 
(compressed) 
suffix 
arrays, 
which 
can 
perfectly 
handle 
left 
and 
right 
truncation.

Best 
regards,

  
  
  
  
Wolfgang




mortic44 
<moran.shemer@gmail.com> 
25-01-2008 
16:27
Please 
respond 
to
general@lucene.apache.org


To
general@lucene.apache.org
cc

Subject
Searching 
sub 
string







Hi,

I'd 
like 
to 
perform 
a 
substring 
search 
(query 
like 
*foo*).
As 
you 
better 
know, 
it 
is 
not 
possible 
to 
use 
* 
as 
the 
first 
character.
Is 
there 
any 
other 
solution 
?

Thanks,
Moran
-- 
View 
this 
message 
in 
context: 
http://www.nabble.com/Searching-sub-string-tp15089424p15089424.html
Sent 
from 
the 
Lucene 
- 
General 
mailing 
list 
archive 
at 
Nabble.com.






Mime
View raw message