solrnet

Solr - Error when posting an "Add" to the server.

I'm Posting the following to the Solr Server: <add> <doc> <field name="uniqueid">5453543</field> <field name="modifieddate">2008-12-03T15:49:00Z</field> <field name="title">My Record</field> <field name="description">Descirption Details </field> <field name="startdate">2009-01-21T15:26:05.680Z</field> ...

SolrNet queries with boost functions

I'm trying to use this library (which looks very nice) but I'm having difficulty understanding how to add extra params to my queries such as boost functions etc. How can this be done? ...

Solr or Nhibernate Search

Bit confused here, How’s Solr or Solrnet any different from Nhibernate Search? Does Solr offer anything more to Lucene.net that Nhibernate Search? ...

Solr/Lucene: Indexing facet values

For example, say I have the following facet: Colors Red (7825) Orange (2343) Green (843) Blue (5412) In my database, colors would be a table and each color would have a primary key and a name/value. When indexing with Solr/Lucene, in all of the examples I've seen, the value is indexed and not the primary key. So if I filter by the ...

Solrnet /ASP.NET sample without MVC

I am trying to get a handle on Solrnet and interacting an ASP.NET site with a Solr server. However, the sample app (on the code repository) is MVC based ,does anyone know of a version in plain vanilla ASP.NET? Thanks ...

Solrnet Paging - How do I set the Start and Rows parameters from .NET?

I'm a Certified .NET developer who is responsible for implementing a Solr search via Solrnet. I'm close to having it where I need it, yet far from seeing the performance my client needs. Normally, I wouldn't write, but I'm not finding much documentation. Can you offer some good Solrnet resources? Here's my problem: How do I restrict ...

How to add Spatial Solr to a Solrnet query

Hi, I am running Solr on my windows machine using jetty. I have downloaded the Spatial Solr Plugin which I finally managed to get up and running. I am also using Solrnet to query against Solr from my asp.net mvc project. Now, adding data into my index seems to work fine and the SpatialTierUpdateProcessorFactory does work as well. The ...

SOLRNET/SOLR Logging: Need to log specific information on whether a document is added or updated.

Hi guys, I am having a big problem trying to find a logging option for our SOLR integration. Recently I have started using SOLRNET to add documents from the database in batches as previously we were just renewing the entire index every morning. So far this solution is working very well and is exactly what we wanted. However, I am in ...

Solrnet with Web Forms

Hi people, I'm new in SolrNet and Asp.Net also :) please hit me with answer, HOWTO configure SolrNet for web forms. public partial class CreateIndex : System.Web.UI.Page { //http://localhost:8983/solr private static readonly string solrURL = ConfigurationManager.AppSettings["solrUrl"]; protected void Page_Load(obje...

Display ellipsis before and after fragment in SOLR

I have SOLR configured to return fragments with a fragsize of 500. Sometimes, the whole field is 500 characters or less, so the fragment is identical to the field. For fields that are longer than that, SOLR just returns the fragment without any indication (or so it seems) that the fragment only represents part of the content of a field...

Binding SolrNet query results to a GridView

Anyone know how to bind a SolrNet result set to a GridView control? I suspect it involves ObjectDataSource but I can't seem to get the right thing thrown together. Any help would be appreciated, I need this part done quickly. ...

Presenting SOLR results merged with individual user data

I'm looking for a strategy to present a individual user's rating on a solr document. ie. Users get to put give a rating 1-5 on a document and I want to present that back to them as they search. I can think of two general approaches. Store the ratings in my RDBMS and query it after getting solr results and merge the data in business...

How multiple index files can be used with Solrnet(lucene)?

Hi All I need to query two index files in solrnet. i will get ids from one index file and then will query other index files according to that IDs. I want to know is there any way in Solrnet to access more than one index files or simply can i modify solr.data.dir variable i solrnet on runtime. ...

how to handle highlighting in Solrnet?

hi All I have a problem in searching solr using solrnet client.. problem is when query with highlighting option on it gives me the count of highlights less than the actual results but when i search directly on solr admin page it gives same number of results in highlights is equal to number of rows specified. can i get the same number o...

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

How to Increase/Configure Snippet size of a highlight?

I want to know that how we can configure Snippet Size(number of words/Characters) in highlighting? Currently i m facing a problem, sometimes solr Gives me snippet exactly the matched word. like let say I query solr as "Contents:risk" using solrnet it gives me exactly "risk" in highlighting snippets no more characters or words i do the sa...

Is it possible to map complex types with SolrNet

Hello, I am using Solr and SolrNet for some simple scenarios in an ASP.NET MVC application. For one to one mappings, where I am mapping a single POCO to a document, everything works very smoothly. However, I'm wondering if it is possible to map more complex scenarios like the following. Essentially I have an Auction class which contains ...

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

Why Highlighting does not work on a Query results?

I have a query like "+(+Contents:"risk factors" +Contents:"item 503" +Contents:concise) +(DocID:2548093)" it filters result but highlighting not works on the result of the query.. I tried to use all highlighters available in solr by appending hl.usefastvectorhighlighter but still highlighting does not works.. can any one help me on this...

How to get lucene DocumentId in Solr/Solrnet?

I want to get the ID of one lucene Document using SolrNet is it possible if yes then how. ...