Questions tagged [lucene.net]

Lucene.NET is a source code, class-per-class, API-per-API, algorithmic port of the Java Lucene search engine to the C# and .NET platform utilizing the Microsoft .NET Framework and .NET Standard. NOTE: You should almost always include the [lucene] tag when using this one. The Lucene.NET design is similar to its Java counterpart and you are more likely to get a satisfactory answer when it is included.

1845 questions
6
votes
2 answers

How to integrate NHibernate with Lucene.Net

This is getting quite annoying. Trying to integrate Lucene.Net search with NHibernate and i found only some information from year 07. Is there a nice up to date tutorial for this? Where to start, what to download etc.? Is there a way how to set…
Arnis Lapsa
  • 45,880
  • 29
  • 115
  • 195
6
votes
0 answers

Full text search engine lists and their performance for .NET

I'm looking for a full text search engine which is portable to be used in ASP.NET. Here is my scenario: I have 40 millions of customer's names and I want to find their CustomerId by searching their names. I know the MS-SQL Full Text Search could be…
Amir Pournasserian
  • 1,600
  • 5
  • 22
  • 46
6
votes
2 answers

Lucene.Net greater than/less than TermRangeQuery?

I have built a Lucene.net index of books. All is working well but I need to add another way to query the index and I cant figure out how to do it. Basically each book has an age range that it is suitable for. This is expressed by two columns…
wingyip
  • 3,465
  • 2
  • 34
  • 52
6
votes
1 answer

How to handle multiple IndexWriter and multiple cross-process IndexWriter

I am googling for two days... I really need help. I have an application with multiple threads trying to update a lucene index using Open/Close of IndexWriter for each update. Threads can start at any time. Yeah, the problem with write.lock! So…
mynkow
  • 4,408
  • 4
  • 38
  • 65
6
votes
1 answer

What are the advantages of using solr over Lucene .Net?

We are trying to incorporate full-text search into our product. When searching for comparisons of lucene and solr i found that most people mention the obvious difference that lucene (and lucene .Net) is a library, while solr is an application. Some…
diff
  • 61
  • 1
  • 2
6
votes
2 answers

Looking for third party CMS to integrate with an MVC site

I am looking at the posibility of integrating a third party component into our MVC-based site. We have an MVC-based portal that is hosted in the cloud and need document handling and search features without taking the full job of implementing it from…
6
votes
1 answer

Lucene.Net multiple word search on multiple field and wild card use and phrase search, fuzzy search all

i am very new to lucene.net. i index data for multiple field with lucene.net. this way i did the index data Document doc = new Document(); doc.Add(new Field("ID", oData.ID.ToString() + "_" + oData.Type,…
Thomas
  • 33,544
  • 126
  • 357
  • 626
6
votes
4 answers

Lucene.Net and I/O Threading issue

I have an indexing function named "Execute()" using IndexWriter to index my site's content. It works great if I simply called it from a web page, but failed when I have it as a delegate parameter into System.Threading.Thread. Strangely though, it…
Liming
6
votes
1 answer

Lucene Hightlighter sometimes inexplicably returns blank fragments

I've been working on a Lucene document search program for the last few days and everything has been overall going well, until now. I'm trying to use the Lucene.Net.Highlight.Highlighter class to show relevant snippets for my search results, but it…
ean5533
  • 8,884
  • 3
  • 40
  • 64
5
votes
1 answer

Pros and cons of using Lucene's MultiSearcher class

Am using Lucene search API for a .net web application. Can I know the pros and cons of using MultiSearcher ?In what scenarios shall I use it? Thanks for reading!
Steve Chapman
  • 1,317
  • 4
  • 23
  • 34
5
votes
3 answers

Return Only Certain Fields From Lucene Search

I'm using Lucene to search an index and it works fine. My only issue is that I only need one particular field of what is being returned. Can you specify to Lucene to only return a certain field in the results and not the entire document?
aaron
  • 349
  • 3
  • 10
5
votes
1 answer

NHibernate + SqlServer full text search

I have to do Full text search in NHibernate For following operation previously I am using Lucene.Net I have a table called candidate For full text query Lucene will return all candidate Id from lucene index and form that id I put in query in…
Anand
  • 717
  • 6
  • 20
5
votes
2 answers

How can I use Lucene's PriorityQueue when I don't know the max size at create time?

I built a custom collector for Lucene.Net, but I can't figure out how to order (or page) the results. Everytime Collect gets called, I can add the result to an internal PriorityQueue, which I understand is the correct way to do this. I extended the…
Deane
  • 8,269
  • 12
  • 58
  • 108
5
votes
2 answers

Sitecore search performance when re-indexing and custom IndexingProvider

We are on Sitecore 6.4 and are using the shared source advanced search module and are seeing a big degredation in site search performance when the Sitecore re-index process kicks in and updates the changes to the web database. When we kick off a…
Tim Peel
  • 2,274
  • 5
  • 27
  • 43
5
votes
2 answers

Lucene.net: Querying and using a filter to limit results

As usual I turn to the massive brain power that is the Stackoverflow user base to help solve a Lucene.NET problem I am battling with. First off, I am a complete noob when it comes to Lucene and Lucene.NET and by using the scattered tutorials and…
nokturnal
  • 2,809
  • 4
  • 29
  • 39