couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Maas <pfmm...@gmail.com>
Subject Re: handling keys in the REST view API
Date Fri, 29 May 2009 10:49:43 GMT
Hi Sergey,

Yes, I know there are other projects which might better fit my  
requirements. That is not the point. I just wanted to see what the  
'edges' of couchdb are. 'sanitizing' input parameters is one of my  
'blindspots' at the moment, the stemming is just an example where i'd  
like to use it.


On May 29, 2009, at 12:20 , Sergey Shepelev wrote:

> Just use Xapian.
>
> On Fri, May 29, 2009 at 1:47 PM, Peter Maas <pfmmaas@gmail.com> wrote:
>> Hi,
>>
>> I'm trying to write a very basic fulltext search facility and  
>> managed to get
>> something working:
>>
>> http://log4p.com/2009/05/28/simple-fulltext-analysis-in-couchdb/
>>
>> Currently I sanitize the source text, remove stopwords (English  
>> that is) and
>> emit a each term (with the number of occurences). Quite useful (for  
>> me)
>> already.
>>
>> The next step would be to add stemming, not to hard either (have a  
>> working
>> prototype already). This does however present me with a new  
>> problem. I'd
>> like to stem the provided keys in the REST parameters using the  
>> same stemmer
>> used by the mapping code. Is there a way to process the parameters  
>> passed to
>> a REST view within CouchDB? Or would I need to duplicate (port) the  
>> stemmer
>> in the clients (which are various in various languages)?
>>
>> kind regards,
>>
>> Peter
>>


Mime
View raw message