Yes but no */? as first char.

So how would you search for any field that contains "abc"? 

Can't do q="*abc*". 



-----Original Message-----
From: Zachary Zolton [mailto:[email protected]] 
Sent: Friday, September 11, 2009 11:42 AM
To: [email protected]
Subject: Re: Lucene partial text search

Lucene supports single letter "?" and multi-letter "*" wildcards:

http://lucene.apache.org/java/2_0_0/queryparsersyntax.html

On Fri, Sep 11, 2009 at 12:29 PM, Michael McCaffrey
<[email protected]> wrote:
> Looking at the couch docs for lucene, they all reference FullText
> searching.
>
>
>
> I've done the simple example from the wiki and  can get the search to
> work if I put all the text in the field in the q="..." search.
>
>
>
> Is it possible to do partial text searches? Like all the records that
> contain "abc" in the field? Like a q="*abc*" wildcard query?
>
>
>
> I see where the lucene documentation shows lots of capabilities, but
> wonder if these are available/accessible in couch.
>
>
> Thanks
>
> Mike
>
>

Reply via email to