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
1 answer

How to realize the lucene suggester with support contexts

Now only AnalyzingInfixSuggester support contexts. All other implementations, such as AnalyzingSuggester, FreeTextSuggester, FuzzySuggester not support contexts. In my task I need to implementing suggester, which search only on terms which are exist…
rdm
  • 330
  • 1
  • 4
  • 18
0
votes
1 answer

Lucene Query for "OR" and "IN"

I'm using Lucene.net within my project to search for customers. I've got my Lucene index built and search is returning expected results for all of my indexed fields, however, when I search specifically for customers in Indiana or Oregon, I receive…
mckennawebdev
  • 547
  • 1
  • 5
  • 17
0
votes
1 answer

Lucene index deleted when opening with Luke/Indexreader

I was creating a lucene index when my indexing program crashed. The indexer had processed about 3M documents before crashing, producing a 14GB file. When I opened the index in Luke (with force unlock), the whole index was gone!. poof. The opened…
Midhat
  • 17,454
  • 22
  • 87
  • 114
0
votes
1 answer

Fuzzy query doesn't return records

We're migrating application from Lucene.NET (version 3.0.3) to elasticsearch (version 2.1) and there is issue regarding fuzzy search. "query": { "query_string": { "query": "+name:Hauking~0.8" } } Specifying fuzzyness with value…
vmeln
  • 1,289
  • 1
  • 16
  • 40
0
votes
2 answers

Multiple instances of application using Lucene.Net

I'm developing a WPF application that uses Lucene.Net to index data from files being generated by a third-party process. It's low volume with new files being created no more than once a minute. My application uses a singleton IndexWriter instance…
Andrew Stephens
  • 9,413
  • 6
  • 76
  • 152
0
votes
1 answer

How activate stemming on my Lucene search code

Can someone please help activate stemming on my code. Tried a lot but without much success :( My current code Directory createIndex(DataTable table) { var directory = new RAMDirectory(); using (Analyzer analyzer = new…
Harish Mohanan
  • 184
  • 1
  • 2
  • 15
0
votes
0 answers

Lucene query in Umbraco grouping two criterias with OR

Events are running from one date to another. User can search for all active Events from one date to another. If Event is active between user selected date range, it should return event(s). I am using Lucene (Umbraco) Example Sample DB Table…
Developer
  • 25,073
  • 20
  • 81
  • 128
0
votes
2 answers

"FindAll" feature in Lucene.net

I have two fields on my web page ie: BookAuthor and BookDescription.On submit,the page searches against lucene index using the given search criteria. If the user does not type in anything in the two fields and submits the page, how do make…
user40907
  • 1,532
  • 5
  • 24
  • 33
0
votes
0 answers

Searching for numbers and characters with Lucene

I'm trying to figure out how to make Lucene do what I need. We search through a legislation guidance and need to find results for search phrases like "legislation paragraph 9.8.1". This should return anything that matches that string. There is a…
lekso
  • 1,731
  • 3
  • 24
  • 46
0
votes
1 answer

Dynamic multiqueryparser in lucene.net

I am building an application that searches a database using Lucene.net.The user decides the fields of the table that want to search on.Now here's the question.How do i implement the multiqueryparser so that it can dynamicly search the specific field…
Nomik
  • 145
  • 2
  • 10
0
votes
1 answer

lucene.net - search term too short?

Hello i have an application with lucene, when i'm searching terms like "a", "a*", "an", "an*" ,... throw an error: Ausnahmedetails: Lucene.Net.Search.BooleanQuery+TooManyClauses: Systemfehler Quellfehler: Zeile 130: Zeile 131: …
tim
  • 197
  • 1
  • 2
  • 10
0
votes
1 answer

System.OutOfMemoryException

I have a program written in asp.net with lucene.net. At first I create an index from 28000 documents. Secondly I'm executing a search, but sometimes there is an error. (I think this error is thrown when there are many results) The important part of…
tim
  • 197
  • 1
  • 2
  • 10
0
votes
1 answer

how to create a lucene index only in one readable xml format

I am using below code for it but its give so many files and I want only one file in xml format so pls give me a proper way to create a lucene index in xml format. Dim BibliDS As New DataSet Dim DataDS As New DataSet Dim dt As DataTable Dim…
shahrukh
  • 1
  • 2
0
votes
1 answer

Index strategy for tagged documents where tags can change often

In addition to text content my documents have tags which can be searched too. The problem now is that the tags change quite often and every time a tag gets added or removed I have to call UpdateDocument which is quite slow when done for hundreds of…
user46703
  • 351
  • 4
  • 9
0
votes
2 answers

Cannot search with keyword 'with' in LINQ?

Currently I am writing a query by using LINQ for Sitecore search content. Having a strange is that I cannot search content with keyword 'with'. Everyone have idea for this ? using (var searchContext = index.CreateSearchContext()) { …
Ken Nguyen
  • 95
  • 10
1 2 3
99
100