lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Carlson <carl...@bookandhammer.com>
Subject Re: contains
Date Wed, 10 Jul 2002 18:04:39 GMT
Do you really want to be able to find items by letter? Do you have some
other purpose that tokenizing by letter is trying to get around.

If your do want to tokenize by letter, you can create your own tokenizer
which creates breaks up items by letter. See the current tokenizers under
org.apache.lucene.analysis.

--Peter

On 7/10/02 10:26 AM, "Pradeep Kumar K" <pradeepk@robosoftin.com> wrote:

> Hi
> 
> Is it possible to search for a word contains some letters?
> example : "God is love"
> 
> how can I create query to search for sentences having  "d".
> I found that lucene is tokenizing a sentence  in to words not into letters.
> is it possible using lucene? Can anybody give a clue for this?
> 
> 
> Thanks
> Pradeep
> 
> 
> --------------------------------------------------------------
> Robosoft Technologies - Partners in Product Development
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message