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
0
votes
0 answers

Lucene.Net Query Error

I've just installed Solr/Lucene on a Windows machine simply to test its capability. I've indexed a couple hundred files and I'm able to successfully query the indexed content through the web interface. Given that the web interface isn't too user…
0
votes
1 answer

Lucene.Net fuzzy search speed

Sorry for the concern, but I hope to get any help from Lucene-experienced people. Now we use in our application Lucene.Net 3.0.3 to index and search by ~2.500.000 items. Each entity contains 27 searchable field, which added to index in this way: new…
SSoro
  • 1
  • 4
0
votes
1 answer

Combine SQL with an external search

In my case SQL for structured data and considering Lucene for text search. Yes MSSQL has FullText but Lucene offers some stuff I want. For the purpose of the question any external search. In SQL there is a main table with a PK. In SQL there are a…
paparazzo
  • 44,497
  • 23
  • 105
  • 176
0
votes
1 answer

No accessible 'New' accepts this number of arguments

Sub CreatePersonsIndex(ByVal dt As System.Data.DataTable) Try 'Specify the index file location where the indexes are to be stored Dim indexFileLocation As String = "C:\Users\Shahrukh\Documents\visual studio…
0
votes
2 answers

How do I disable some entities based on a few properties in NHibernate Search?

Im still pretty new to NHibernate.Search so please bear with me if this is stupid question :) Say, I have indexed some entities of type BlogPost, which has a property called IsDeleted. If IsDeleted is set to true, I don't want my queries to show…
cwap
  • 11,087
  • 8
  • 47
  • 61
0
votes
1 answer

Lucene.net folder search

I am newbie in Lucene.net. I want to search a content from the folder which may have all type of files (.txt, .xls, .pdf, .exe, .ppt, .doc,...). Suppose if I search any content, I want to list the filepath & content matched (it should be…
0
votes
0 answers

Can Lucene.net search while a write operation is on-going?

I have noticed that while one of my VMs is writing to my lucene index, a query on my other VM stalls until the write.lock file is removed. Surely an IndexSearcher object should be able to read from the index while and IndexWriter object is busy…
Adam Hey
  • 1,512
  • 1
  • 20
  • 24
0
votes
0 answers

Why does SimpleFacetedSearch result in a OutOfMemory exception in lucene.net?

I am using Lucene.net to perform faceted searches for a MVC based web app hosted on Azure. The index consists of approx. 2 million entries. Each entry has 1 Analysed field and about 25 Non Analysed fields. All fields need to be stored. Currently…
0
votes
1 answer

Inclusive RavenDB date range query not including matching date values as expected

I am trying to understand date range filters in RavenDB. When I attempt to query for records within a particular date range as follows: Date:[2015-08-18T06:00:00.000Z TO 2015-08-19T06:00:00.000Z] The document type being queried contains the…
Vinney Kelly
  • 4,975
  • 1
  • 25
  • 31
0
votes
1 answer

How do I build an Index in Nhibernate.Search (Lucene.Net)?

I'm trying to add a search field to my web site (ASP.NET MVC 2) and was told it'd be a good idea to use Nhibernate.Search, seeing that I was already using Nhibernate in the rest of the project. Anyway, I followed a coulpe tutorials, namely this one,…
JLago
  • 31
  • 3
0
votes
1 answer

How do I declare the version of Lucene.Net 3.0.3

I am beginning to learn Lucene.Net and was wondering how you declare the version number? Here is what I have, but it doesn't work: var analyzer = new StandardAnalyzer(Version.LUCENE_30); //Version.Lucene_30 is where the problem lies. I have also…
BowerdotJson
  • 55
  • 1
  • 9
0
votes
1 answer

Lucene QueryParser highlight phrase as single highlight

Can anyone tell me if there is a way to highlight a phrase with a single highlight using the lucene .net QueryParser? For Eg I have the text:- The quick fox jumped over the wall. I search for: "Quick fox" The highlights returned by lucene.net The…
Vineet
  • 401
  • 5
  • 15
0
votes
1 answer

Lucene phrase query does not work

I can't figure out how to make phrase query to work. It returns exact mathes, but slop option doesn't seem to make a difference. Here's my code: static void Main(string[] args) { using (Directory directory = new RAMDirectory()) …
chester89
  • 8,328
  • 17
  • 68
  • 113
0
votes
1 answer

Make Lucene.net Highlighter show Matches from a Specific Field only

If I have a fullText field with these contents In 2014 and 2015 the results were ... [more] ... and Sony are developing ... [more] And query for +loadTime:[2014 TO 2015] +fullText:sony The Highlighter is picking 2014 and 2015 as the best…
Ryan
  • 3,924
  • 6
  • 46
  • 69
0
votes
1 answer

Is there a direct comparison between Lucene.Net syntax and Amazon Cloud Search syntax

I have a large application that has hundreds of lines of complex queries in lucene.net, and I want to be able to move to Amazon Cloud Search. Instead of re-writing all the queries, I was thinking of writing some sort of converter. Before I do…
Martin
  • 2,180
  • 4
  • 21
  • 41
1 2 3
99
100