Lucene.Net Indexing

12 posts, 0 answers
  1. Tolga Erdogus
    Tolga Erdogus avatar
    5 posts
    Member since:
    Oct 2004

    Posted 22 Sep 2011 Link to this post

    I noticed that Sitefinity has some lucene.net integration.

    I am wondering why you don't refactor that code in to OpenAccess to have the ORM be able to take advantage of full text indexing based search?  To my knowledge Lightspeed does this and it's a great and very valuable feature...

    Thanks
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 23 Sep 2011 Link to this post

    Hello Tolga Erdogus,
    To integrate Lucene in a concreate product or in a framework is a big difference.

    What do you want to achieve? Do you just want to have fulltext search in your Linq Statements? For that here is the SQL Server fulltext Linq integration (you need a fulltext index first):

    Add a Method decorated with the SQLMethodAttribute to your project.
    [SqlMethod(Name="FREETEXT")]
    public static bool Fulltext(string s1, string s2)
    {
        throw new Exception("Should only be executed on the server side.");
    }

    Now you can use this Method in your Linq statement like:
    var r = from p in context.Products where Fulltext(p.ProductName, "meat") select p;

    Best wishes,
    Jan Blessenohl
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Tolga Erdogus
    Tolga Erdogus avatar
    5 posts
    Member since:
    Oct 2004

    Posted 23 Sep 2011 Link to this post

    Hi - thanks for your quick response.  I have indeed used sql full text querying before and it's nice that one can use it on the LINQ side through the custom server side function as you showed, but lucene is a lot more advanced in the way it can form arbitrarily nested and or statements and use lots of other matching options.
    Sql full text was my fall back strategy and I can go with it, but I was wondering about lucene.net support and if was ever discussed as an extension point for OpenAccess.

    Thanks
  5. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 26 Sep 2011 Link to this post

    Hi Tolga Erdogus,
    I have added it to our list. It needs more research, how it can work in fat client or server farm environments. Thanks for your request.

    Kind regards,
    Jan Blessenohl
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

  6. Rui
    Rui avatar
    30 posts
    Member since:
    Feb 2012

    Posted 13 Feb 2012 Link to this post

    This is great! 1 plus!

    I use it with nHibernate, it allows me having a 1.5million records table in a SQLite file queryable very very very fast :D
    Hope you have this soon ... And MONO juice, please :) No need for the designer, I just need to be able to execute the final application in Apache with MONO, even if it's all Code-First approach... PLEASE PLEASE PLEASE ;)
  7. Allen
    Allen avatar
    21 posts
    Member since:
    Aug 2007

    Posted 14 Mar 2012 Link to this post

    I would second that request.  Not all data is stored in a relational DB and not all developers have SQL server for the FreeText option.  I am a huge fan of Lucene and OpenAccess.  To marry them together would be fantastic!
  8. Marco
    Marco avatar
    2 posts
    Member since:
    Dec 2012

    Posted 24 Dec 2012 Link to this post

    Any news on this feature request?
  9. Ivailo
    Admin
    Ivailo avatar
    318 posts

    Posted 27 Dec 2012 Link to this post

    Hi,

    We have not forgotten about the request - it is in our backlog.

    However, it is not with a high priority for the time being since there are other, more frequently requested and critical features that we are working on for Q1 2013.

    We will most certainly keep this thread updated in case we decide to start implementing the support for Lucene.Net.

    Greetings,
    Ivailo
    the Telerik team
    Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
  10. Marco
    Marco avatar
    2 posts
    Member since:
    Dec 2012

    Posted 22 Mar 2014 in reply to Ivailo Link to this post

    Any news on this feature request?
  11. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 26 Mar 2014 Link to this post

    Hi Marco,

    We are always looking for a way to improve Telerik Data Access. However we have not registered huge interest in this feature and therefore its priority has remained low. If our users find Lucene.Net support a valuable feature and show enough interest into it, we will consider adding it in the product.

    With this in mind, I have created a feature request for Lucene.Net in our Feedback Portal and would like to invite you to vote for it. Doing so will help us prioritize its eventual implementation. Also feel free to share any additional feedback or suggestions you might have.

    Meanwhile, if you have any questions or need help with Telerik Data Access, feel free to post at our forums again.

    Regards,
    Kristian Nikolov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  12. Pravin
    Pravin avatar
    1 posts
    Member since:
    Mar 2015

    Posted 31 Mar 2015 Link to this post

    I am using Lucene.net v3.0.3.0 for indexing and searching, I have "CreateDateTime" field which store document creation datetime.I would like to Create DateTime range query with boolean "NOT" condition. Means I would like to retrieve all those documents whose CreateDate should not be in the range which I have given, I am able to create query but the query is not returning any results.

    Date is mmddyyyyhhmmss format.

    my date range is 7/15/2014 12:00:00 AM To 3/31/2015 11:59:59 PM

    My final query is as follows,
    -CreateDateTime:[20140715000000000 TO 20150331235959000]

    I had tried same query with the help of Luke tool as well it is also not returning any result. The indexing was created normally and I am able to fire all types of quires on it except DateRange query with NOT Boolean condition. NOT is working perfectly fine on other fields.

    Any Suggestions ?

    I am using Lucene.net v3.0.3.0 for indexing and searching, I have "CreateDateTime" field which store document creation datetime.I would like to Create DateTime range query with boolean "NOT" condition. Means I would like to retrieve all those documents whose CreateDate should not be in the range which I have given, I am able to create query but the query is not returning any results.

    Date is mmddyyyyhhmmss format.

    my date range is 7/15/2014 12:00:00 AM To 3/31/2015 11:59:59 PM

    My final query is as follows,

    -CreateDateTime:[20140715000000000 TO 20150331235959000]

    I had tried same query with the help of Luke tool as well it is also not returning any result. The indexing was created normally and I am able to fire all types of quires on it except DateRange query with NOT Boolean condition. NOT is working perfectly fine on other fields.

    Any Suggestions ?

    I am using Lucene.net v3.0.3.0 for indexing and searching, I have "CreateDateTime" field which store document creation datetime.I would like to Create DateTime range query with boolean "NOT" condition. Means I would like to retrieve all those documents whose CreateDate should not be in the range which I have given, I am able to create query but the query is not returning any results.

    Date is mmddyyyyhhmmss format.

    my date range is 7/15/2014 12:00:00 AM To 3/31/2015 11:59:59 PM

    My final query is as follows,

    -CreateDateTime:[20140715000000000 TO 20150331235959000]

    I had tried same query with the help of Luke tool as well it is also not returning any result. The indexing was created normally and I am able to fire all types of quires on it except DateRange query with NOT Boolean condition. NOT is working perfectly fine on other fields.

    Any Suggestions ?

  13. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 03 Apr 2015 Link to this post

    Hi Pravin,

    I am sorry, but our integration with Lucene .Net is still non-existent and issues like this push the boundaries of the scope where we can give you any advice how to proceed.

    Regards,
    Viktor Zhivkov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
Back to Top
DevCraft banner