Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
0
votes
0 answers

SolrNet Multicore with AutoFac

I'm working on SolrNet 4.0. There are multicore implementation in Solr. I'm using Autofac as IoC. var cores = new SolrServers { new SolrServerElement { Id = "entity1", DocumentType = typeof(Entity1).AssemblyQualifiedName, …
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
1 answer

c# solrnet searching multiwords and phrase

I would like to use autocomplete in my site. I start using solrnet. when the user start typing a sentence I would like to return results with exact match and after that "startswith". The thing is that I can't seem to get the multiwords sentence to…
Gidi
  • 181
  • 1
  • 10
0
votes
2 answers

Search word in string in Solr 4

On a solr 4, I'm making a query for a word "black" and it returns me the results of the only product that have exact word - "black" in the name & desc. I'm searching only on the name and description. However, there are many words that I want to…
Krunal
  • 2,967
  • 8
  • 45
  • 101
0
votes
1 answer

Ninject solrnet binding doubts

I am using Ninject for DI in my project. I am using solrnet for search functionality and I am trying to incorporate Solr to Ninject. Below is the code i have added in Global.asax protected override IKernel CreateKernel() { return new…
Robert
  • 11
  • 5
0
votes
1 answer

Modifying sorting on a facet field from default "count" to "index" in Solrnet asp.net mvc

By default the sort on Solr facet fields is by "count" and not by "index". I have facet fields such as "date", "author", "places" etc. I want the default sort (sort by count/ sort = true) to be applicable only for "author" and "places" facet fields…
sunskin
  • 1,620
  • 3
  • 25
  • 49
0
votes
1 answer

solr query over multiple fields doesn't work

I have the issue that I can not query over multiple fields. I read the following article about it and did the same thing: Solr - Query over all fields best practice here my schema file:
tro
  • 914
  • 2
  • 10
  • 23
0
votes
2 answers

solrnet query failed

I am trying to work with solr with c#. I installed a bitnami apache + solr stack and changed the schema.xml file. I tried the following example: http://www.chrisumbel.com/article/solrnet_solr_net schema file
tro
  • 914
  • 2
  • 10
  • 23
0
votes
1 answer

How can i boost a field dynamically at index time using solrnet

Currently for index time field boosting i am using mapping attribute and giving a static boost like below. [SolrUniqueKey("StudentID")] public int JobseekerID { get; set; } [SolrField("FName")] public string FName { get; set;…
Ppm
  • 162
  • 1
  • 13
0
votes
1 answer

Solrnet q parameter issue with compound query

We are using Solrnet to issue a compound query to Solr based on a set of options that the user can select for e.g. phrase, exact phrase. exclusion, proximity, etc. We are creating the individual queries based on the options selected using the…
koder
  • 887
  • 9
  • 29
0
votes
2 answers

Indexing data inside database, with files stored on filesystem

I'm trying to use Apache Solr as fulltext search engine in my .NET app (via SolrNet). My app has this data mode: class Document { public int Id { get; set; }; public string Name { get; set; } public DateTime CreateDate { get; set;} …
lewis
  • 482
  • 2
  • 10
  • 22
0
votes
1 answer

Why a phrase is getting searched against default fields in solr

This might be a very silly question but i want to know why this is happening. If i am using edismax query parser in solr and passing query something like…
Ppm
  • 162
  • 1
  • 13
0
votes
2 answers

Calculate score according to another indexed field‏?

My schema is like below
Ppm
  • 162
  • 1
  • 13
0
votes
1 answer

Best way to perform search on several fields‏

I have to perform search on several fields for ex.(ProductName,ProductDescription,FeedBackOfProduct etc.). Currently I have 2 approaches 1. I will copy all these searchable fields into one copy field and perform search on that field. But problem…
Ppm
  • 162
  • 1
  • 13
0
votes
2 answers

How to search a phrase

I did one work around to get all documents that contains "Good" or "Microwave" or "Good Microwave",if i will pass "Good Microwave" as q parameter please guide me wheather i am going in right direction or not. I defined two field type(text_general…
Ppm
  • 162
  • 1
  • 13
0
votes
3 answers

Can SolrNet client run at a different machine from solr server?

I set up a solr server running in Tomcat in machine 192.168.0.113(Centos 5.5). And I deploy a website in matchine 192.168.0.114(Windows server 2003). I use solrnet in matchine 192.168.0.114. The full code like bellow(which have been edited thanks to…
zhen lee
  • 333
  • 2
  • 6
  • 18