Skip to main content

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.

-1 votes
0 answers
140 views
+200

how to search based on a property of a child object

I have the following structure/code that I'm trying to fix one issue in it. It could have been done differently from the start but it is what it is. When searching to get all employees by department ...
user1019042's user avatar
  • 1,976
1 vote
1 answer
34 views

Umbraco Lucene Date Field Encoding convert to .net DateTime

I am trying to update an Umbraco site using Lucene for a site search function. I am trying to display a list of search results and include the last time the search result was updated. I found the ...
CDrnly's user avatar
  • 461
0 votes
1 answer
64 views

Why won't Lucene.NET use an analyzer when querying?

I wrote a custom Analyzer for Lucene.Net 4.8. What I've found is that explicitly set queries fail, but parsed queries succeed, because -- it seems -- parsed queries are also subject to the same ...
Deane's user avatar
  • 8,517
0 votes
1 answer
60 views

How to solve System.UnauthorizedAccessException on multi instance Azure App service

I have a search API that created by Lucene .Net. I deployed it on an Azure App Service and set 2 instance with load blancing. The Lucene index has been put on Blob Storage and will be update by API's ...
ONLAEG's user avatar
  • 199
-1 votes
2 answers
67 views

Finding the exact failing field with ID in Lucene

I have a structured JSON data in the following form: field1:{ "id" : "123", "field2" : [ { "id" : "345", "type" : "...
Tahil Bansal's user avatar
0 votes
0 answers
139 views

Upgrade to Lucene.Net 4.8 has slowed down search

I'm doing index search to return the lastnames of passengers from my Lucene Index files in my machine. I'm upgrading my Lucene.Net from 3.0 to 4.8. I followed the migration documentations and ...
user1019042's user avatar
  • 1,976
1 vote
0 answers
110 views

Lucene.Net for full-text search on the site

I am using Lucene.Net for full-text search on the site, in general it turned out to achieve good results, but there is one problem that I can not solve in any way For example, in the database there is ...
Sergey's user avatar
  • 11
0 votes
1 answer
132 views

A weird NullReferenceException from J2N HashSet AddInNotPresent method that is called by Lucene.Net

I post part of the stack trace. This exception doesn't happen regularly and is hard to replicate. But it usually occurs after getting back from its IIS process idle.(Run it first, do nothing for a ...
Ryan Xu's user avatar
  • 19
0 votes
1 answer
121 views

Lucene.net corrupted index (segments.gen)

We're using Lucene.NET library (4.8.0-beta000015) for our search engine. Our server was shut down unexpectedly and ever since then we're getting this error: Format version is not supported (resource: ...
NB94's user avatar
  • 3
0 votes
0 answers
100 views

Umbraco + Examine + Lucene.NET Index Problem

We have an ASP.NET web site that we recently moved from a different CMS to Umbraco 10.6.1 which uses Examine 3.0.1.0 and Lucene.net 4.8.0.0 to do content indexing. We have a couple parts of our site ...
user75893's user avatar
0 votes
2 answers
195 views

AWS Lambda serverless app (docker) markedly slower than local docker

I am hosting a serverless docker app in AWS Lambda this is a .net 8 (however 6 and 7 and even beanstalk behaved the same). The app is .net lucene (4.8 which is in beta) search (index is quite small ...
metase's user avatar
  • 1,269
0 votes
0 answers
49 views

Lucene.Net 4.8 FSDirectory.open() terminates with System.TypeInitializationException

I've realized a LuceneSearcher.cs script based on well tested examples from the internet with Lucene.Net 4.8.0-beta00016 as console application and it works like a charm. Porting this script to an asp....
Rainer Roskothen's user avatar
-1 votes
1 answer
64 views

Lucene.net issue

I have an issue with Lucene.net (rel 4.8.0-beta00016). I'm not quite clear on the difference between creating an index and opening it later to add documents. I've created a C# application - using ...
Dario's user avatar
  • 1
0 votes
1 answer
99 views

Lucene: Way to have case-insensitive MappingCharFilter or apply LowerCaseFilter before it?

Is there a way to have a LowerCaseFilter before the MappingCharFilter? I realize I could just lowercase the search input before passing into Lucene but this Analyzer is only for a specific field so it'...
azulBonnet's user avatar
0 votes
1 answer
15 views

ReuseStrategy in Lucene 4.0

I'm creating my own analyzer that is based on StopWordAnalyzerBase. In order to make function AddDocument as it was in 3.0, I need to change ReuseStrategy according to Lucene Documentation. But I don'...
WalterFox's user avatar

15 30 50 per page
1
2 3 4 5
123