lucene.net

query syntax lucene.net (in asp.net)

hello, i have a question concerning the query syntax from lucene.net 1) when i'm searching for "test" it works. when i'm searchng for "test-t" there are results too, but when i'm searching for "test-t*" there are no results i read, that the "-" stands for NOT - but how does this works in one string?? [in two strings: test -t --> test ...

Lucene.net search and underscore

The Underscore '_' works like an AND, doesn't it? When searching for any of test_12 , 12_test , 12 AND test , test AND 12 I get the same hit. But why is there a problem with the wildcard? mytest* AND abc_IN_CRM_C --> finds results! abc_IN_CRM_C_mytest* --> no results! abc_IN_CRM_C AND mytest* --> results ?! What am I doing wro...

Do WHERE clauses exist in Lucene(.Net)?

I'm building an ASP.NET MVC site where I want to use Lucene.Net for full-text search. My site will be divided into certain categories, and I want to allow users to search inside a specific category or inside all categories. To accomplish this, I plan to create a term in all documents in my index that contains the name of the category th...

How Grouping can be achieved in Solrnet/Solr(Lucene)?

Hi All I have Lucene files indexed according to pageIds (UniqueKey). and one document can have multiple pages. Now once user perform some search it gives us pages that matches search criteria. I am using Lucene.Net 2.9.2 We have 2 problems... 1- The file size is around 800GB and it has 130 million rows (pages) so the search time was ...

Lucene(.Net) geometric (lat/long) queries?

I'm writing an ASP.NET MVC site where I plan to use Lucene.Net for searching. Some of my site content has a location attribute, and I'm thinking of incorporating location into the searching functionality. Does functionality exist in Lucene where, if I were to define latitude and longitude fields for my documents, the user inputs some co...

Proper structuring of Lucene.Net usage in an ASP.NET MVC site

I'm building an ASP.NET MVC site where I plan to use Lucene.Net. I've envisioned a way to structure the usage of Lucene, but not sure whether my planned architecture is OK and efficient. My Plan: On Application_Start event in Global.asax: I check for the existence of the index on the file system - if it doesn't exist, I create it an...

Building a distributed index on Azure and Lucene.NET. Should I learn Solr and Hadoop?

I need to have my search indexes based on a Azure/Lucene.NET implementation. That being said, I don't have much knowledge of Solr and Hadoop, or what they offer the Linux crowd. Since I don't know the learning curve ahead of me, I'll tell you what I'm looking for and perhaps you can tell me how I should spend my time. I'm interested i...

Where do I begin learning Lucene.NET Solr Hadoop and MapReduce?

I'm a .NET developer and I need to learn Lucene so we can run a very large scale search service that removes entries that the end user doesn't have access to. (ie a User can search for all documents with clearance level 3 or higher, but not clearance level 2 or 1) Where do I start learning, which products should I consider? To be hon...

Solr Index appears to be valid - but returns no results

hi all, Solr newbie here. I have created a Solr index and write a whole bunch of docs into it. I can see from the Solr admin page that the docs exist and the schema is fine as well. But when I perform a search using a test keyword I do not get any results back. On entering * : * into the query (in Solr admin page) I get all the res...

Does it make sense to use Hadoop for import operations and Solr to provide a web interface?

I'm looking at the need to import a lot of data in realtime into a Lucene index. This will consist of files of various formats (Doc, Docx, Pdf, etc). The data will be imported as batches compressed files, and so they will need to be decompressed and indexed into an individual file, and somehow relate to the file batch as a whole. I'm ...

Lucene.Net BooleanClause issue

I'm having an issue with Lucene.Net and a BooleanQuery. This is my code: BooleanQuery query = new BooleanQuery(); String[] types = searchTypes.Split(','); foreach (string t in types) query.Add(new TermQuery(new Term("document type", t.ToLower())), BooleanClause.Occur.SHOULD); This should basically be an OR statement going ...

Lucene.net returns the correct number of query hits, but not the correct documents

I'm new to Lucene and trying to sort this out. I'm indexing like this: Directory dir = FSDirectory.Open(new System.IO.DirectoryInfo(dirIndexDir)); //Create the indexWriter IndexWriter writer = new IndexWriter(dir, new StandardAnalyzer(Lucene.Net.Util.Version.LUCENE_29), true, IndexWriter.MaxFieldLen...

advanced search using Lucene.net dll

Hi, please explain me how to acheive the advanced search using Lucene.net dll. please explain me in brief as i am new to this dll i Have the following options Content Type - Radio buttons 1.All 2. Content pages 3.Marketing Collateral Key Words - text box Title - text box Language - text box Status - Drop down Reference Number ...

Creating Lucene Index for Sitecore causes "Could not find add method" errors

I have a sitecore 6.2 site that had no lucene indexes besides the system index. I tried to add this new simple index: <index id="videoIndex" type="Sitecore.Search.Index, Sitecore.Kernel" > <param desc="name">$(id)</param> <param desc="folder">IndexFolder</param> <Analyzer ref="search/analyzer" /> <templates hint="list:AddTemplat...

Lucene.net MoreLikeThis Error

Hi all, I am using Lucene.net V2.9 to create some concept clusters i.e. list of concepts and for each of those concepts associated concepts. But I am getting this exception in the MoreLikeThis.cs class: AddTermFrequencies(new System.IO.StreamReader(text[j]), termFreqMap, fieldName); Could not find file 'C:\DEV.....\Debug\s...

Lucene.Net, SQL Server, NHibernate, ASP.NET MVC

Dear all, I am using these technologies: SQL Server 2005, ASP.NET MVC, NHibernate/sharp architecture and would like to mine some text with the final aim of presenting some web based stats . I have several millions of keywords and several millions of documents and would like to run some queries based on these documents indexed by the key...

Generate tags base on sentence given. this is for search engine C#

Hi, I'm creating a search engine on one of my project using lucene & asp.net mvc c#. I just wanted to implement auto tagging when the user enter a sentence. Is there an opensource API that can handle this? Example, user enter this sentence: "We offer proofreading services & outsourcing." The API then generates tags like: "proofreadin...

How efficient is this parallelisation code? Is there a better way to do it?

I'm building a large Lucene index and each document I insert requires a little bit of "putting together" before it can be inserted. I'm reading all of the documents from a database and inserting them into the index. Lucene allows you to build a few different indexes and merge them together later, so I've come up with this: // we'll use ...

Fast Vector Highlighter souce and dll

I'm using lucene.net 2.9.2. Can somebody please provide me the dll and source for Fast Vector highlighter. ...

Using List of (T) with Lucene.net in vb.net

hello, i want to use an List to store the title, path,... from Documents. I declared the list like this: Dim MyDocuments As New List(Of Document) But i don't really know how to handle the list. i want to use the list instead of an ReDim Array. For i = 0 To results - 1 Step 1 ' forschleife zum durchlaufen der Ergebnisse ...