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,
…
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…
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…
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…
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…
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:
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
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;…
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…
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;}
…
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…
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…
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…
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…