Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
3
votes
2 answers

SolrNET - Data at the root level is invalid. Line 1, position 1

I am using Solar: 7.0.1 on: localhost:8983/solr/global I am using SolrNET 0.8.1 with the following code example: using SolrNet; using Microsoft.Practices.ServiceLocation; Startup.Init("http://localhost:8983/solr/global"); var solr =…
Rusty Nail
  • 2,692
  • 3
  • 34
  • 55
3
votes
2 answers

How to search phrase in Solr?

I am searching some phrase in Solr of Name field. I tryed different comfigurations for Name, to be of type string or any custom TextField.
Vlado Pandžić
  • 4,879
  • 8
  • 44
  • 75
3
votes
2 answers

Solr search results and retrieving position of document

I have a solr index accessed using SolrNet, and I would like to retrieve the index (position) of a particular document in the results, without returning the whole result set. In more detail... the query returns ~30,000 documents and is ordered by an…
robinbetts
  • 104
  • 1
  • 10
3
votes
0 answers

Solr SpellChecker | Collation is always null

I am trying to implement spellCheck in solr. From the solr iterface i am able to see the collation but by using solr net collation is always null. The solrconfig and schema files which i am using are attached. Here is the request handler and search…
3
votes
1 answer

Solr does not initialize

I am just creating one application which is start Solr from code side using ASP.NET Web Application. http://localhost:8080/solr/admin/ this link working perfect but am i startup initialize from code side it's give me error like file not found…
Dhaval950
  • 81
  • 1
  • 8
3
votes
2 answers

Solr Connection' already registered in container

i am using solr search on asp.net when i search first time it give me correct search result, bt after that when i change search parameter and try to search it give an error ("Solr Connection' already registered in container") so…
manish
  • 321
  • 1
  • 5
  • 12
3
votes
2 answers

Solr and .Net Filters

I am relatively new to the wonderfulworld of Solr and have the following question. What is the best way to process documents in terms of extracting the document structure and passing it onto Solr for indexing. I would like to be able to extract the…
Alan Simes
  • 201
  • 1
  • 9
3
votes
1 answer

SolrNet Faceting question

Using SolrNet for querying & faceting. I have a combination of int, tdate and string fields I would like to facet on. However I am unable to mix SolrFacetFieldQuery and SolrFacetQuery (for ranges) and SolrFacetDateQuery (for date ranges) in the…
Mikos
  • 8,455
  • 10
  • 41
  • 72
3
votes
1 answer

How can I sort solr result bases on dynamic fields

I need to sort result on the basis of dynamic field. How can I do that? When I am sorting on minimum value of some of those dynamic attribute. It's not giving correct result because my query is like &sort=min(A_160018,A_chandigarh1) Some of document…
user3655976
  • 51
  • 1
  • 1
  • 4
3
votes
2 answers

Is it possible to map complex types with SolrNet

I am using Solr and SolrNet for some simple scenarios in an ASP.NET MVC application. For one to one mappings, where I am mapping a single POCO to a document, everything works very smoothly. However, I'm wondering if it is possible to map more…
JP.
  • 5,536
  • 7
  • 58
  • 100
3
votes
1 answer

Clean way to log response from debugQuery in SolrNet

We have added a property that let us add debugQuery=true as option when querying Solr from our application. Sometimes the queries can be complex, so we need to see what parts of the query takes time. However I have not been able to find any good way…
amosti
  • 75
  • 1
  • 6
3
votes
1 answer

CopyField in Solr Doesnt Seem to Work

I am trying to use the copyField directive in Solr to copy some fields into a catch-all field for searching. Unfortunately the field does not seem to be populated via the copyField directives at all. Here are my source fields:
PizzaTheHut
  • 637
  • 2
  • 6
  • 20
3
votes
1 answer

SolrCloud Indexing/Querying without a Smart-Client

I'm having a bit of trouble understanding exactly how indexing and querying would work if I don't have a smart-client available. I'm using SolrNet with C#, which currently doesn't integrate with ZooKeeper. As a basic example, let's say I have a…
LandonC
  • 889
  • 1
  • 16
  • 28
3
votes
2 answers

Solrnet Paging - How do I set the Start and Rows parameters from .NET?

I'm a Certified .NET developer who is responsible for implementing a Solr search via Solrnet. I'm close to having it where I need it, yet far from seeing the performance my client needs. Normally, I wouldn't write, but I'm not finding much…
user333083
  • 31
  • 1
  • 2
3
votes
1 answer

Asp.net MVC 4 and SolrNet programing

to all, I realy need help. I am new in SolrNet and beginer in asp.net mvc 4. My project is to use SolrNet and view results in web app created in asp.net mvc 4. So, for begin I whant to just do simple query from SolrNet and display it in web, So far…
Daniel K Rudolf_mag
  • 287
  • 2
  • 5
  • 18