Contents tagged with LIFTI

  • PersistedFullTextIndexes with non-primitive types

    When you construct a PersistedFullTextIndex with a primitive type, such as int, you just need to define it like this:

    var index = new PersistedFullTextIndex<int>(filePath);

    However if you try … more

  • Async and await in constructors

    I was working on LIFTI last night, trying to create a Windows Store compatible version of it and encountered 2 main problems: No support for IEnlistmentNotification, so no transactional support is … more

  • Tutorial: Using LIFTI in an MVC 3 web application

    Updated 25/02/2012 - it was highlighted that some of the seach phrases used towards the end of this article were not returning the expected results - that was down to me making assumptions about … more

  • LIFTI XmlWordSplitter

    The XmlWordSplitter is a new word splitter class in the latest release of LIFTI. I created it mainly because it was required for the persisted index sample, but it seemed too useful to keep out of … more

  • Changes to the LIFTI API

    This post relates to the breaking changes between version 0.4 and 0.5 of LIFTI. LIFTI is a full-text indexing library for .NET - find out more on its CodePlex site. The latest release of LIFTI … more

  • Describing the LIFTI persistence file format

    This post will break down how the data in a LIFTI persisted full text index is structured on disk. It might be a bit dry for some, so I've tried to spice it up as much as possible with pretty … more

  • Implementing a persisted file store for LIFTI

    Over a month ago I started to write a persisted file store for LIFTI. Given that I'd pretty much just finished implementing binary serialization for indexes, why would I want to do that? … more

  • Performance tuning using Visual Studio 2010

    In this post I'll be showing you how to use Visual Studio 2010 performance analysis tools to find slow parts in your code, make changes and then verify that those fixes have actually been beneficial. … more

  • Writing multi-threaded unit tests

    In my last blog post I described how I implemented the lock manager in LIFTI. This was pretty straightforward because ReaderWriterLockSlim was leveraged to do all of the really heavy lifting, but … more

  • Implementing thread safety in LIFTI

    I've wanted to get a bit of thread-safety going in LIFTI for a little while now because one of the my target scenarios was for the index to be hosted in a website. The index is already thread safe … more