Hi,
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 not know how to implmenet nhibernate search with lucene to fluent nhibernate.
i found this but it is not much and do not know how to use it:
http://stackoverf...
The link, http://incubator.apache.org/lucene.net/ contains a download link named Lucene.Net source, but the Lucene directory in the repository only leads back to itself. Does any one know where I can download the source so I can compile a version 2.4 dll?
...
Hi.
I need to exclude duplicates in my database. The problem is that duplicates are not considered exact match but rather similar documents. For this purpose I decided to use FuzzyQuery like follows:
var fuzzyQuery = new global::Lucene.Net.Search.FuzzyQuery(
new Term("text", queryText),
0.8f,
...
Our project requires near-real time searches and constant updating. The data is currently stored in a MySQL database and the Lucene index is updated as the database is modified.
We have the search capability currently where we want it. However, we are attempting to add the ability to "tag" documents in the index/database. Since the d...
I have searched on amazon and could not find a book on lucene.net. Have you guys came across a decent book on lucene.net?
...
Hi
I need the search using another search result. can anyone help me?
My scenario is
I have index1 with fields fileid, filename, filetype, lastmodified, created etc.
I have index2 with fields fileid, f1,f2,f3,f4,f5 , where f1 - f5 all are boolean fields and holds value 0/1.
Now I want to filter my search result for eg., filtype:pdf ...
When searching a bunch of documents, I can easily find the number of documents which match my search criteria:
Hits hits = Searcher.Search(query);
int DocumentCount = hits.Length();
How do I determine the total number of hits within the documents? For example, let's say I search for "congress" and I get 2 documents back. How can I get...
Here is my code
term = Server.UrlDecode(term);
string indexFileLocation = "C:\\lucene\\Index\\post";
Lucene.Net.Store.Directory dir =
Lucene.Net.Store.FSDirectory.GetDirectory(indexFileLocation, false);
//create an index searcher that will perform the search
Lucene.Net.Search.IndexSearcher s...
I want to use Lucene.NET for fulltext search shared between two apps: one is an ASP.NET MVC application and the other one is a console application. Both applications are supposed to search and update index.
How the concurrency should be handled?
I found a tutorial on ifdefined.com where the similar use case is discussed. My concern is ...
Hi,
I would like to get the term frequency for a specific field from search result. How to achieve this? For instance:
My search result have 100000 hits. I m having a field called FromID and Category
Now I want the frequency for each and every fromid for a specific category as like
[email protected] 1000 docs for the category X
b.yahoo.co...
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, if nhibernate is initialized, nhibernate.search should be aware which entities are supposed to be ind...
How to make Lucene.NET Query '#' and '+' characters ?
Like "C#" and "C++"
Note : i use NHibernate.Search
...
How-to build AutoComplete / Suggestions with Lucene.NET ?
...
Hi,
I need to make a Lucene exact case insensitive keyword match query.
I tried using KeywordAnalyzer but it's case sensitive ...
Sample :
Keyword : "Windows Server 2003" => Got Results
Keyword : "windows server 2003" => No results ...
Another sample (multi keywords) :
Keywords : "ASP.NET, SQL Server" => Got results
Keywords : "a...
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 foos where foo.bar.id==1 using IFullTextQuery?
...
Using Lucene.Net 2.4.0 is there some kind of built-in support for joining the results of two different queries that target the same index, similar to the support for targeting two or more indexes with a single query?
I'm looking for ways to support both trailing wildcard and fuzzy searches without forcing
users to choose one or the oth...
I've asked a simlar question on Meta StackOverflow, but that deals specifically with whether or not Lucene.NET is used on StackOverflow.
The purpose of the question here is more of a hypotetical, as to what approaches one would make if they were to use Lucene.NET as a basis for in-site search and other factors in a site like StackOverfl...
Good afternoon,
I'm looking for some info so that users can find local results in their Lucene.Net searches.
I would index the Latitude / Longitude in the document, and query Lucene based on the users latitude/longitude and 20 (or 30, 40...) mile range.
Any help would be appreciated.
...
I was suggested to use ParallelMultiSearch or MultiSearcher for searching when having multiple Lucene.NET indexes. How many indexes can be searched at a time? I asking because I was thinking if it is possixble to search multiple often updated indexes that are stored in memory. I was thinking of 20-30 indexes.
...
Hello,
I'm using Lucene.net 2.4 for the website of a client with heavy programmatic use of queries : boolean queries, fuzzy queries, different weight, prefix etc....
Sometimes, very randomly, I have the following error :
Arithmetic operation resulted in an overflow at Lucene.Net.Util.PriorityQueue.Initialize(Int32 maxSize)
at Lucen...