Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
2
votes
1 answer

SolrNet: How to switch Solr connection to another server if the currently used server goes down?

I have to setup two solr servers, so that if one of the servers goes offline, traffic can be switched to the other server at runtime. One way is to let Solr try to connect to the server and after it times out try connecting with the other server.…
Raza
  • 139
  • 3
  • 13
2
votes
2 answers

Can SolrNet Support Json

I want solr response the json data.So Can SolrNet can receive the json data and do analysis just like serialization?
2
votes
1 answer

How do I extend the Timeout in SolrConnection? (SolrConnectionException: The operation has timed out)

How do I extend/modify the timeout value used for the SolrConnection object? I have a long-running optimize operation that does not appear to complete within the default connection timeout provided. The operation I am using is…
Brendan Hannemann
  • 2,084
  • 1
  • 18
  • 33
2
votes
2 answers

How to use Solr?

I’m programming en ASP MVC3 application. One part of that application should be a product list containing faceted search, full text search and distance search. After a while of research I found SOLR and SOLRNet. I have installed Solr on a Tomcat 7…
HW90
  • 1,953
  • 2
  • 21
  • 45
2
votes
1 answer

Solr date boost and sort by relevant results NOT working properly

I am implementing Solr dismax search and also using this function recip(ms(NOW,PubDate),3.16e-11,1000,1000) for date boost. Everthing is working fine but only got one problem. if search keywords are repeated in the Title, they get more score than…
Peter Joel
  • 67
  • 10
2
votes
1 answer

Solr MoreLikeThis /mlt handler returns a 404 error

I want to find all the documents that is similar to a specific document within solr. I have installed solr and made some queries. The query I am trying to make gives an error which I cannot make out or research on the internet. Can you give me some…
Luke101
  • 63,072
  • 85
  • 231
  • 359
2
votes
1 answer

solr result grouping error unexpected docvalues type sorted set for field "recentjobtitlecopy"(expected=SORTED)

I am new to solr and wanted to implement document grouping.I am using solr 6.1 version.I have a schema.xml with fields like this :
Kanika Sharma
  • 191
  • 1
  • 10
2
votes
2 answers

solrnet, solr grouping and ngroups parameter

I use grouping with solr 3.3 and solrnet. I want to paginate results using the number of grouping result. Solr allows this with ngroups parameter. is it possible to use this parameter with solrnet?
bobosh
  • 425
  • 5
  • 21
2
votes
0 answers

RichTextBox.Find doesn't work with Solr Highlights

My application needs to able to indicate where in the original document do the highlights from Solr actually come from. For the time being, my project deals only with .txt files. I'm using the highlights returned by Solr as string inputs to an…
2
votes
0 answers

SolrNet - Using Dependency injection doesnt call the Startup.Init method

Using Solrnet in my .NET core project through dependency injection as - services.AddSolrNet("http://localhost:8983/solr"); And injecting it through ISolrOperations As opposed to how we do in .net framework…
2
votes
2 answers

How to query in solrNet

I am new to solrnet . i need to Pass this url to solr to my "pharmaSearch" requestHandler and i need to get the result xml . guide how to do this in solrNet(Now for the url it is working in brower) where else i need to call this from .net…
Syed Abdul Kather
  • 608
  • 2
  • 12
  • 29
2
votes
1 answer

Facet for Empty or null values for any field in Solr

I am using Facet in my solr implemententation. Facets are display for all the keywords of fields having concrete values. Facets are not displayed for the empty values. I want to show a facets for empty values as well. For example, in below example…
Abhay
  • 51
  • 4
2
votes
2 answers

Apache Solr : Data import handler exception - how to skip zero byte files

While going through Solr logs, I found data import error for certain documents. Here it is: Exception while processing: file document : null:org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to read content Processing Document #…
Ravi kumar
  • 21
  • 1
2
votes
1 answer

Opening a file at a location where I encounter a hit

I am using ASP.Net MVC with C# and SOLRNET for my search tool. The files I index include .pdf files, word docs, excel etc... I am able to search and retrieve all the docs with a hit. Now the problem lies in opening the files with a hit. When I open…
Vignesh
  • 21
  • 1
2
votes
2 answers

Doesn't index or extract the Document (.pdf .doc) from Remotely

I am using Solr 3.1, Apache Tika 0.9 and Solrnet 0.3.1 to index the docuent like a .doc and .pdf file. I have successfully index and extract document on locally using this code Startup.Init
("http://k9server:8080/solr"); …
Dhaval950
  • 81
  • 1
  • 8