This is a migrated thread and some comments may be shown as answers.

Lucene.Net Indexing

11 Answers 128 Views
Feature Requests
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tolga Erdogus
Top achievements
Rank 1
Tolga Erdogus asked on 22 Sep 2011, 06:35 PM
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

11 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 23 Sep 2011, 09:00 AM
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 >>

0
Tolga Erdogus
Top achievements
Rank 1
answered on 23 Sep 2011, 12:47 PM
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
0
Jan Blessenohl
Telerik team
answered on 26 Sep 2011, 09:04 AM
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 >>

0
Rui
Top achievements
Rank 1
answered on 13 Feb 2012, 11:55 PM
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 ;)
0
Allen
Top achievements
Rank 2
answered on 14 Mar 2012, 06:11 PM
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!
0
Marco
Top achievements
Rank 1
answered on 24 Dec 2012, 07:42 PM
Any news on this feature request?
0
Ivailo
Telerik team
answered on 27 Dec 2012, 09:21 AM
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.
0
Marco
Top achievements
Rank 1
answered on 22 Mar 2014, 06:34 PM
Any news on this feature request?
0
Kristian Nikolov
Telerik team
answered on 26 Mar 2014, 04:46 PM
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.
 
0
Pravin
Top achievements
Rank 1
answered on 31 Mar 2015, 04:22 PM
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 ?

0
Viktor Zhivkov
Telerik team
answered on 03 Apr 2015, 04:16 PM
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.
 
Tags
Feature Requests
Asked by
Tolga Erdogus
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Tolga Erdogus
Top achievements
Rank 1
Rui
Top achievements
Rank 1
Allen
Top achievements
Rank 2
Marco
Top achievements
Rank 1
Ivailo
Telerik team
Kristian Nikolov
Telerik team
Pravin
Top achievements
Rank 1
Viktor Zhivkov
Telerik team
Share this question
or