Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
10
votes
4 answers

Get all the results from solr without 10 as limit

How to get all the rows returned from the solr instead of getting only 10 rows?
Selwyn
  • 1,621
  • 6
  • 21
  • 38
8
votes
1 answer

Index pdf documents in Solr from C# client

Basically I'm trying to index word or pdf documents in Solr and found the ExtractingRequestHandler, but can't figure out how to write code in c# that performs the HTTP POST request like in the Solr wiki:…
jonasm
  • 977
  • 1
  • 8
  • 14
8
votes
2 answers

How to boost fields in solr

I already have the boost determined before hand. I have a field in the solr index called boost1 . This boost field will have a value from 1 to 10 similar to google PR rank. This is the boost that should be applied to every query ran in solr. here…
Luke101
  • 63,072
  • 85
  • 231
  • 359
8
votes
1 answer

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?
Quintin Par
  • 15,862
  • 27
  • 93
  • 146
7
votes
2 answers

Solr MoreLikeThis boosting query fields

I am experimenting with Solr's MoreLikeThis feature. My schema deals with articles, and I'm looking for similarities between articles within three fields: articletitle, articletext and topic. The following query works…
JBradshaw
  • 151
  • 1
  • 9
7
votes
2 answers

Use function query for boosting score in Solr

I working on a Solr 4 for optimizing my solr results rank based on popularity rank stored in Index. Now when someone searches, apart from relevancy rank, I want to influence relevancy rank using popularity rank. The simplest formula could be: new…
Krutal Modi
  • 477
  • 9
  • 25
7
votes
1 answer

Solr single index vs Solr multi core

I need some assitance on deciding creating a single index in a single Solr instance vs creating multiple cores in a single Solr instance, each core servicing an index. My understanding is, a single index in solr is usually implemented to index one…
S.O.L.I.D
  • 73
  • 3
7
votes
2 answers

Set Custom Order for Facets coming from Solr

I'm using Solr for offering faceted navigation for e-commerce site. However I need to define the custom order for facets, but I didn't find how to do that in Solr. Any idea how to do this? I'm using Solr Net and latest version of Solr. Here is an…
Krunal
  • 2,967
  • 8
  • 45
  • 101
6
votes
3 answers

Unable to find assembly - imposible to trace error

I have a website which runs in IIS 7.0 in an Integrated v4.0 application pool. Starting from today I get the below exception in the Windows event Log. The website is online for 1 month and I never got this exception before. I get the exception at…
Dorin
  • 2,482
  • 2
  • 22
  • 38
6
votes
3 answers

The remote server returned an error: (400) Bad Request. when add docs to index

when i add docs to index, the page returns 400 bad request. And the solr has been start up and can get data from database. So i need put the data into index. However, it's failed always. 1) Here is code snippet of SolrBaseRepository ///
Benny
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

Wrong facet results with special characters in facet field

I have implemented Solr Search and Faceting for e-commerce stores, and facing weired issue with facet filter faceting results. This happens only when we have special character (i.e. bracket) in the facet field otherwise everything works fine. I have…
Kalpesh Boghara
  • 418
  • 3
  • 22
6
votes
4 answers

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…
Stefan
  • 1,719
  • 2
  • 15
  • 27
6
votes
2 answers

How to forcefully abort data import in SOLR DIH HTTP API

Follow the steps to generate the error: 1. Configure the large amount of data (around 4 GB or more than 50 millions of records) 2. Give proper data-config.xml file for indexing the data from remote database server. 3. During indexing the data into…
Sanket Thakkar
  • 725
  • 8
  • 18
6
votes
2 answers

Is it possible to retrieve the field name(s) that matched the query in Solr?

I would like to dynamically show to the user which field matched the query that was sent to Solr. For example, if I had a document document field1: "yay" field2: "nay" dynamic_field_hurr_*: one: "yay" two: "nay" and i queried for…
cwap
  • 11,087
  • 8
  • 47
  • 61
6
votes
2 answers

Set default search fields in Apache Solr

I am trying to Implement Apache Solr search through SolrNet library.So far I have managed to run an instance of Solr in my machine and make some queries based on specific fields. My code to do it looks like this var solr =…
None
  • 5,582
  • 21
  • 85
  • 170
1
2
3
40 41