nhibernate « lucene.net « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » lucene.net » nhibernate 

1. How to Indexing and searching business entities using Lucene.Net?    stackoverflow.com

I would like to know how to use Lucene.NET for indexing and searching my business entities. I see NHibernate.Search has nice features for this issue, but it still needs DB. I ...

2. Sample Project for NHibernate Search using Lucene.Net    stackoverflow.com

Is there any Asp Dotnet projects samples available using Lucene Dotnet

3. Nhibernate.Search, Lucene, and the Criteria API: types mismatch    stackoverflow.com

Update I've been looking around the NHibernate.Search.Tests project to find out how the Criteria API is used (i find it immensely useful to look around the test code to have working examples) ...

4. memcached or lucene.net with nhibernate    stackoverflow.com

Does anyone have used memcached as a level2 cache or lucene.net for searching with nhibernate ? Can you please share your advances on nhibernate caching & indexing/searching. And, is memcached (with enyim ...

5. How to integrate NHibernate with Lucene.Net    stackoverflow.com

This is getting quite annoying. Trying to integrate Lucene.Net search with NHibernate and i found only some information from year 07. Is there a nice up to date tutorial ...

6. How to programmatically add an index column for NHibernate Search (Lucene.net) without using FieldAttribute    stackoverflow.com

I'm trying to find out how to programmatically (i.e. without using the FieldAttribute) add an index column for NHibernate Search (Lucene.net). I'm having inheritance issues due to the fact that the FieldAttribute ...

7. How to structure domain model when using NHibernate Search/Lucene    stackoverflow.com

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
{
   ...

8. NHibernate.Search Index Rebuild    stackoverflow.com

How can i rebuild Lucene.NET Index using NHibernate.Search ? Thanks.

9. Get Score with NHibernate.Search    stackoverflow.com

I'm currently trying to use NHibernate.Search, but i need to get score for each results returned by the query. Anyone know something about how to do that ? Thanks.

10. Fluent nhibernate + nhibernate.serach + lucene.net    stackoverflow.com

can someone tell me how to use nhibernate serach and lucene with fluent nhibernate. I have my application writen with fluent nhibernate but now i need full text serach but do ...

11. Easiest way to reindex lucene.net indexes when nhibernate.search used?    stackoverflow.com

Context =>
Calling wcf, some random stored procedures and sql stuff theoretically imports some data. Requirements =>
Reindex lucene indexes for some of imported entities. Question =>
What's the easiest way to do that? Theoretically, ...

12. Lucene 'join' how-to?    stackoverflow.com

Using Nhibernate.Search at the moment. Some code for context:

[Indexed]
class foo {
  [DocumentId]
  int id {get;set;}
  bar bar {get;set;}
}

[Indexed]
class bar {
  [DocumentId]
  int id {get;set;}
}
Question:
How to retrieve all ...

13. Lucene 'join' how-to? part II    stackoverflow.com

Part I here...


Requirement:
search by multiple values in multiple fields AND Where Bar.Id == argBar.Id
var parser = new MultiFieldQueryParser
  (new[] { "Name", "Title" }, new SimpleAnalyzer());

parser.???(string.Format("Bar.Id:{0}",argBar.Id)); // o_0

var ...

14. What does NHibernate.Search ContainedIn attribute do?    stackoverflow.com

And how it differs from IndexedEmbedded? P.s. and what's the best source of information about NHibernate.Search?

15. Lucene.NET through NHibernate.Search and POCO Entities    stackoverflow.com

Is there anyway to keep true POCO Entities while working with Lucene.NET through NHibernate.Search ? It seems that Lucene.NET (NHibernate.Search) mapping only work with Attributes within Entity classes.

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

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 ...

17. How do I disable some entities based on a few properties in NHibernate Search?    stackoverflow.com

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. ...

18. NHibernate Search Lucene.NET SearchFactory is null    stackoverflow.com

I've been struggling with the following issue for hours now. I tried this with different NHibernate/NHibernate.Search assemblies (3.0.0.4 / 2.1.2), all of them result in the same error. Used Lucene version ...

19. NHibernate.Search + Lucene.NET duplicate entries    stackoverflow.com

When I build the initial index from an existing database, the type of the entries in Lucene get indexed as <_hibernate_class:Castle.Proxies.MuestraProxy, DynamicProxyGenAssembly2> However, when a new entity is added using NHibernate it ...

20. Extremely slow manual indexing?    stackoverflow.com

I am trying to add about 21,000 entities already in the database into an nhibernate-search Lucene index. When done, the indexes are around 12 megabytes. I think the time can ...

21. build index using lucene.net 2.9.2.2    stackoverflow.com

I have to use lucene.net 2.9.2.2 with NHibernate 3.0. I have started to edit this old code:

public void BuildSearchIndex()
{

    FSDirectory entityDirectory = null;
    IndexWriter writer ...

22. Nhibernate search with Lucene.Net, historical data    stackoverflow.com

When I was searching for SQL full text index solution in Nhinbernate, I came across Lucene.Net solution, and I found and excellent article at http://www.d80.co.uk/post/2011/03/04/Nhibernate-Search-Tutorial-with-LuceneNet-and-NHibernate-30.aspx. Now I have another question ...

23. Nhibernate Search and Lucene.NET searching slow    stackoverflow.com

I have created an index with Lucene.NET and optimized it. There are about 30000 records, however when searching it takes about 30 seconds to retrieve any results! My configuration looks like ...

24. How to configure tolkenizers with indexing and searching with Lucene and Nhibernate    stackoverflow.com

This is a question for using Lucene via the NHibernate.Search namespace, which works in conjunction with Lucene. I'm indexing a Title in the Index: Grey's Anatomy

Title : "Grey's Anatomy"
By using Luke, I ...

25. IFullTextQuery - exception if there are too may objects    stackoverflow.com

This code works fine:

Query query = parser.Parse(expression);

IFullTextSession session = Search.CreateFullTextSession(this.Session);

IFullTextQuery fullTextQuery = session.CreateFullTextQuery(query, new[] { typeof(MappedSequence) });

var l1 = fullTextQuery.List();
as long as the query does not return too many objects. If ...

26. NHibernate Search FieldAttribute    stackoverflow.com

I am not sure what are the parameters Index.Tokenized and Store actually meam, and how the value affect the index result? What is the difference between 2 properties below?

class A{
  ...

27. Nhibernate Search on different domains    stackoverflow.com

I have two websites which are required to access the same Lucene index using nHibernate search. Problem is they are of course on different domains so I think they are breaking ...

28. StandardAnalyzer seems to not being involved when indexing data, NHibernate.Search    stackoverflow.com

Im building a search function for an application with Lucene.NET and NHibernate.Search. To index the existing data I am using this method:

public void SynchronizeIndexForAllUsers()
    {
    ...

29. Lucene.Net (2.9.2.2) and Nhibernate.Search    stackoverflow.com


I would like to use Lucene.Net ver. 2.9.2.2 with nHibernate Search.
I would like to use one of the latest nhibernate versions, possibly.
I've seen there's a nuget package in the ...

30. NHibernate Search N+1 Issue    stackoverflow.com

I'm using NHibernate Search for NHibernate 3.0 GA. I have this code in my product repository:

public IList<Product> Find(string term)
        {
      ...

31. Searching through child objects nhibernate search?    stackoverflow.com

I have this kind of relationship Supplier -> has many Products Both Supplier is indexed and products are indexed. I need (boss wants to) search through both the Supplier and all of the ...

32. Using sharding with nhibernate.search for partitioning indexes    stackoverflow.com

We are using NHibernate 3.1 and NHibernate.Search on top of Lucene for full-text searches. So far it is working great, but we have some scalability problems: In our database, we have several ...

33. NumericRangeQuery in NHibernate.Search    stackoverflow.com

I am creating a search, where the user can both choose an interval and search on a term in the same go. This is however giving me trouble, since I have up ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.