Questions tagged [nhibernate-search]

20 questions
3
votes
1 answer

Will NHibernate Search ever become aware of changes to the underlying data?

I've seen several statements online to the effect that NHibernate (or Hibernate) Search "takes care of the database/index synchronization". When I read these statements, I cannot help but wonder if there is an implied "...as long as you use…
Aaronaught
  • 120,909
  • 25
  • 266
  • 342
3
votes
2 answers

nHibernate.Search and Lucene.Net 3

nHibernate.Search has last been updated in 2011. Is this project still active? Recently, Lucene.Net 3 was released, which is a major version and is not backwards compatible with v2. I tried to download the source of nHibernate.Search and link it…
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
2
votes
2 answers

NHibernate Search without attributes

Is there any NHibernate Search library which doesn't require attributes on your entity properties? I'd like to keep my entities as clean POCOs, so perhaps there is a fluent interface? If not, perhaps I'll write one! Thanks
Andrew Bullock
  • 36,616
  • 34
  • 155
  • 231
2
votes
1 answer

Polymorphic queries with NHibernate Search

I have multiple entities stored in a single NHibernate Search index, in the hope that I'd be able to query over all of them at once. The use case is a simple search page which returns mixed results. So, for example, the code could look like…
Thom
  • 2,643
  • 2
  • 30
  • 33
2
votes
0 answers

NHibernate Search and Eager Fetching

I used Lucene and NHibernate Search session to search IFullTextSession fullTextSession = Search.CreateFullTextSession(this.session); var fullTextResult = fullTextSession.CreateFullTextQuery("my query"); In my entity mapping I did not specify…
hardywang
  • 4,864
  • 11
  • 65
  • 101
1
vote
1 answer

Hibernate Search boost with values from other table

I'm using hibernate search(latest release) with a local Lucene backend. I have two entities as follows; @Entity @Indexed public class A { @Id private Long id; @FullTextField private String text; @KeywordField private…
1
vote
0 answers

Hibernate Search 5.5 Message Driven Bean for Master/Slave implementation

Hibernate documentation doesn't mention what has to be done in the MDB This example inherits from the abstract JMS controller class available in the Hibernate Search source code and implements a JavaEE MDB. This implementation is given as an…
1
vote
1 answer

How to structure domain model when using NHibernate Search/Lucene

I am messing around with NHibernate Search and Lucene to create a searchable index of legal entities. My domain model looks somewhat like this: [Indexed] public abstract class LegalEntity : AggregateRoot { public virtual Address Address { get;…
mookid8000
  • 18,258
  • 2
  • 39
  • 63
1
vote
1 answer

Any Linq Nhibernate Search?

I want to use lucene.net to do some searching for data. I read about nhibernate search that combines lucene.net and nhibernate to do searching. However I use fluent nhibernate and I like to use linq. I don't think using fluent nhibernate will be a…
chobo2
  • 83,322
  • 195
  • 530
  • 832
1
vote
1 answer

Lucene.net & NHibernate search concurrency issues

I have a web application which uses Lucene.Net and NHibernate.Search as a full-text search engine. NHibernate.Search is setted up such that whenever a change is done in the database, it is propagated to the Lucene index. The web application is…
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
1
vote
2 answers

FluentNhibernate, Nhibernate.Search and Lucene.Net version

I created a project, and used NuGet to install Nhibernate.Search. During the installation NuGet also downloads the Lucene.Net for me. With NuGet I have following packages downloaded and installed FluentNHibernate.dll: 1.3.0733 NHibernate.dll:…
hardywang
  • 4,864
  • 11
  • 65
  • 101
1
vote
1 answer

How can I get NHibernate.Search FT query to use a "free text" query style?

I'm trying to implement a text search option using the Lucene-based full-text search engine on my NHibernate-based MVC project (NHibernate.Search). All the documentation I've seen on how to do this suggests I need to look at specific columns for…
Jeremy Holovacs
  • 22,480
  • 33
  • 117
  • 254
0
votes
1 answer

NHibernate Search and Lucene Exception

Got error message when one application is using Lucene index exclusively. Unhandled Exception: NHibernate.Search.Impl.SearchException: Unable to open IndexWriter for My namespace ---> Lucene.Net.Store.LockObtainFailedException: Lock obtain timed…
hardywang
  • 4,864
  • 11
  • 65
  • 101
0
votes
1 answer

Compile NHibernate Search Code Against NHibernate 3.2 Binary

I downloaded source code from http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/ changed the reference to 3.2 version of NHibernate. When I compiled I got following error/warning messages Error 1 …
hardywang
  • 4,864
  • 11
  • 65
  • 101
0
votes
1 answer

Hibernate search show match with keyword field on top then sort the rest

Hibernate Search 6.0.1 with local lucene I have a search functionality where a user can search a word for two fields where one is a full-text search, and the other is an exact keyword match. Class A @FullTextField(termVector = TermVector.YES,…
1
2