Top "Lucene" questions

The term Lucene refers to the open source Java fulltext search engine library, but also to the entire eco-system that grew around it, including lucene.

Lucene highlighter

How does the Lucene 4.3.1 highlighter work? I want to print out the search results(as the searched word and 8 words …

java lucene lucene-highlighter
Using CLucene vs java lucene

I am currently using Java lucene for one of the project and getting OK kind of performance. I am looking …

lucene clucene
How to search fields with wildcard and spaces in Hibernate Search

I have a search box that performs a search on title field based on the given input, so the user …

java hibernate lucene full-text-search hibernate-search
Lucene fuzzy search on a phrase (FuzzyQuery + SpanQuery)

I am looking for a way of coding the lucene fuzzy query that searches all the documents, which are relevant …

lucene fuzzy-search
Exact Meaning of "Slop" in Lucene SpanNearQuery (or slop in ElasticSearch span_near)

Question 1: In Lucene's SpanNearQuery (or span_near in ElasticSearch), what is the exact meaning of slop? Is it the number …

lucene elasticsearch proximity
How to configure Solr to do partial word matching

Given the following set of values how do I configure the field to return values that are partial word matches …

solr lucene sunspot
Sitecore Lucene: content delivery server index not updating on publish

I created a custom search page using the default sitecore_web_index and everything seemed to work until I migrated …

lucene sitecore sitecore7
Any way to merge two queries in solr?

In my project, we use solr to index a lot of different kind of documents, by example Books and Persons, …

lucene solr nested-queries
Lucene OR search using Boolean query

I have an index with multiple fields, one of which is a string field in which I store category names …

java apache lucene booleanquery
Using Lucene to count results in categories

I am trying to use Lucene Java 2.3.2 to implement search on a catalog of products. Apart from the regular fields …

java search lucene filtering catalog