incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCaffrey" <mmccaff...@ittvis.com>
Subject RE: Lucene partial text search
Date Fri, 11 Sep 2009 19:08:38 GMT
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:zachary.zolton@gmail.com] 
Sent: Friday, September 11, 2009 11:42 AM
To: user@couchdb.apache.org
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
<mmccaffrey@ittvis.com> 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
>
>

Mime
View raw message