Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Errror on update after Model.rebuild_index: msg#00124

lang.ruby.ferret.general

Subject: Re: Errror on update after Model.rebuild_index

Jens Kraemer wrote:
> On Fri, Jun 15, 2007 at 05:16:49PM +0200, Mattias Bud wrote:
>> > AAF trunk now should handle this correctly :-)
>> something here.
> if this date string is in the date_comment_index field, you won't find
> it as long as you say :index => :no. The correct choice for fields you
> want to search, but not to be tokenized is :index => :untokenized.
>
> :index => :no is only useful for fields you never want to search, but
> which should hold data to be retrieved later on.
>
> Jens
>

Yes - I ran into that. After a lot of tests I now use
untokenized_omit_norms which seems to give the correct result. Now I
only have to index the date_comment twice. It also holds unsurten dates
lite Around 1820. These chould be searchable with "Around" (find al
unsurten dates)

So now I index
:date_comment_index => {},
:date_comment_index_untokenized => {:index => :untokenized_omit_norms}

mattias

--
Posted via http://www.ruby-forum.com/.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation