Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
0
votes
3 answers

Where can I find a SolrNet IQueryable provider?

I am using WebApi and want to implement OData for one of my SolrNet resources. WebApi supports OData if you return it an IQueryable. So I need an IQueryable provider for SolrNet queries. Does anyone know of any, or some sample code of how I can get…
BradLaney
  • 2,384
  • 1
  • 19
  • 28
0
votes
1 answer

How to register a ISolrFieldSerializer in Windsor container so that SolrNet can pick it up

I am trying to get an enum to serialize to it's int value when posting to Solr. So I have implemented a ISolrFieldSerializer to do this, As suggested here. But I can seem to register it within the Windsor container in a way that it then gets used…
Dan
  • 29,100
  • 43
  • 148
  • 207
0
votes
1 answer

How to remove whitespaces from field name in SolrNet 3.6?

We are working on ASP.NET MVC3 C# with SolrNet 3.6. We have used dynamic fields. There are whitespaces in dynamic fields names: e.g Filter_SIM Slots:Single SIM. How can I remove whitespaces from dynamic field names? (Here Filter_SIM Slots)
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
3 answers

Indexing PDF documents with addtional search fields using SolrNet?

I found this article useful when indexing documents, however, how can I attach additional fields so I can pass in, say, the ID of the document in our database for use in displaying the search results? I thought by using the Fields (Of the…
DDiVita
  • 4,225
  • 5
  • 63
  • 117
0
votes
1 answer

Date & Price field should be defined as Index or just Stored in Solr 3.6?

Using Solr 3.6, I'm confused about considering a field as index or not.. For specifically two field, named Created Date, and Price. I need to have filter on both of them, but can't decide whether they should be defined as Index or not in…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
1 answer

SolrNet - Faceted search wrong results

I've got the following class: public class Product { public Product() { Categories = new List(); } [SolrUniqueKey("id")] public int Id { get; set; } [SolrField("name")] public string Name { get; set;…
Julian
  • 1,105
  • 2
  • 26
  • 57
0
votes
1 answer

How to use Suggester component with Solr.Net

I am able to configure the Suggester component with Solr but how do I query it with Solr.Net? Is it supported?
0
votes
2 answers

Solr Schema.xml for Faceted Search

We're implementing solr with ecommerce application. The main objective is faster search and better faceted catalog navigation. The problem however is, we're unable to figure out how to map dynamic facets into Solr. When I say dynamic facet, I mean…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
1 answer

Solr search for a site depoyed on web farm?

Is Lucene Solr works with web farm with load balancing server. I'm looking to implement with asp.net mvc3 web application, and moving to web farm with load balancing server is the next in roadmap, so want to understand how to do it with solr?
Krunal
  • 2,967
  • 8
  • 45
  • 101
0
votes
1 answer

SOLR search is not showing valid result

I am using SOLR as a search engine of my application. But now it is not showing proper results. In my schema file there is column SubscriptionIds which holds multiple values with a separator. They are stored as ,,4588,,4585,,6966,,4855, Similarly…
shakti
  • 191
  • 1
  • 8
  • 21
0
votes
1 answer

SolrNet building a compound query

I am trying to build the following query using SolrNet. (type:Contact) AND ((firstName:Jason)^100) OR ((lastName: Winters)^100) I have tried to use the following code: var query = new SolrQuery("type:Contact") && new…
xliang
  • 65
  • 1
  • 7
0
votes
1 answer

How to map a SolrNet Query result to a class?

I am trying to query Solr using the SolrNet client. I can index documents and search for them with the Solr web admin with out error. When I try to query using the same class I indexed the documents with I get an error like the following on every…
Cogslave
  • 2,513
  • 3
  • 25
  • 35
0
votes
3 answers

ActivationException When Using Ninject To Access Multiple Cores In SolrNet

I think I could be using this wrong, there wasn't much on the Ninject variant of multiple cores, but I'm trying to use Ninject and SolrNet. While taking advantage of fully loose mapping. So I know I need to use Ninject named bindings. Can't use…
Matthew Rhoden
  • 688
  • 1
  • 10
  • 20
-1
votes
1 answer

Getting started with SolrNet in my .Net application

I use Solr for couple of days and now I want to use it with my .NET application. I don't know where to start. What should I download (Solr, SolrNet, something else) ? And then how can I use it with my application, should I use .dll or NuGet Package…
J.doe
  • 37
  • 6
-1
votes
3 answers

Get Mime Type from the File Where File Type is not known in C#

I have been trying to get the Mime type form the file where i dont really know the File Type of the file. I know that there is a same questions here but this is not complete as i have to support .dwg (CAD files) it is basically to use with Solr…
John Sheedy
  • 287
  • 1
  • 8
  • 26
1 2 3
40
41