Yes, and that is the reason why I said, *"it would not be advisable to have a *word like query but a word* like would be doable"* *word : is a prefix wildcard, which can be done, but its not all that straight, and still would be highly against what I would advise word* : is Doable and ok.
Else if you are so bent on wanting that, you may as well write an intelligent indexing wrapper to meet your needs (which would again require a lot of time and effort) -- Anshum On Mon, Aug 25, 2008 at 5:35 PM, Venkata Subbarayudu <[EMAIL PROTECTED]>wrote: > > Hi Anshum Gupta, > Thanks for your replay, but when I gone through querySyntax-Document for > Lucene, I read that Lucene does not allow queries like "*findthis" i.e. I > think it doesnot allow wildcards in the beginning of the query. > is it? > > Thanks, > Venkata Subbarayudu. > > Anshum-2 wrote: > > > > Hi , > > > > You could use wildcard queries in that case (In case I got you right). > > Though because of the way the indexed terms are stored, it would not be > > advisable to have a *word like query but a word* like would be doable in > > real world environment. > > > > Hope this answers your question. > > -- > > Anshum Gupta > > Naukri Labs! > > http://ai-cafe.blogspot.com > > > > On Mon, Aug 25, 2008 at 5:24 PM, Venkata Subbarayudu > > <[EMAIL PROTECTED]>wrote: > > > >> > >> Hi All, > >> I am new to this Lucene, and I am using this for indexing and > >> searching. Is it possible to search substrings using this, for example > if > >> a > >> field holds the value "LuceneIndex" and if a give the query as Index, I > >> want > >> to get this field also.. is there anyway for this. > >> Thanks in Advance, > >> Venkata Subbarayudu. > >> -- > >> View this message in context: > >> http://www.nabble.com/How-to-search-tp19142469p19142469.html > >> Sent from the Lucene - Java Users mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > -- > > The facts expressed here belong to everybody, the opinions to me. > > The distinction is yours to draw............ > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-search-tp19142469p19142634.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw............