Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
5
votes
1 answer

Can Attributes on a Property be Hidden?

I am attempting to use reflection to determine which Properties of a Type have a certain Attribute. This seems to work fine when I create a custom attribute myself, but is currently not working for an attribute in a 3rd party assembly. The assembly…
Brendan Hannemann
  • 2,084
  • 1
  • 18
  • 33
5
votes
1 answer

Explanation of SolrNet connection

Why is the container of the SolrNet connections kept static? This is a very big fault, as when, in our application, we send an asynchronous request to our application, SolrNet behaves abnormally. How I can avoid this issue in SolrNet? class P { …
Ahsan Iqbal
  • 1,422
  • 5
  • 20
  • 39
5
votes
2 answers

How to configure Apache Tika with apache Solr 1.4.1

I want to index a large number of pdf documents. I have found a reference showing that it could be done using Apache Tika but unfortunately I cannot find any reference that describes I could configure Apache Tika in Solr 1.4.1. Once configured I do…
Ahsan Iqbal
  • 1,422
  • 5
  • 20
  • 39
5
votes
0 answers

Writing / Updating external field file for Solr via Solr API

Is there a way to write external file (containing external file field) for Solr via some API? I tried to find into Solr docs but unable to find anything that help!! Here is more details as requested. I am working on a project where I have few…
Krunal
  • 2,967
  • 8
  • 45
  • 101
5
votes
1 answer

How to add Spatial Solr to a Solrnet query

I am running Solr on my windows machine using jetty. I have downloaded the Spatial Solr Plugin which I finally managed to get up and running. I am also using Solrnet to query against Solr from my asp.net mvc project. Now, adding data into my index…
Flo
  • 729
  • 3
  • 10
  • 22
5
votes
1 answer

Simple Injector and SolrNet

I'm moving from the easy world of Ninject over to the fast world of Simple Injector, but I'm getting stuck with SolrNet. A lot of the popular IoC's have SolrNet integrations already, but not SimpleInjector. I've started creating my own integration…
matt_lethargic
  • 2,706
  • 1
  • 18
  • 33
5
votes
1 answer

Using SOLR to calculate "similarity"/"bitcount" between two ulongs

We have a database of images where I have calculated the PHASH using Dr. Neal Krawetz's method as implemented by David Oftedal. Part of the sample code calculates the difference between these longs is here: ulong hash1 = AverageHash(theImage); ulong…
5
votes
4 answers

When querying Solr using SolrNet, what is the easiest way to see the actual Url that gets requested?

I'm trying to debug a application that is using SolrNet to query Solr. I'm trying to figure out what url that actually gets requested from SolrNet so that I can debug it more easilly in a web browser.
Mikael Engver
  • 4,634
  • 4
  • 46
  • 53
5
votes
5 answers

How to get the suggester component working in SolrNet?

I have configured my solrconfig.xml and schema.xml to query for the suggestions. I am able to get the suggestions from the url http://localhost:8080/solr/collection1/suggest?q=ha&wt=xml My SolrConfig.xml looks like Curently, My solr query looks…
Prasad
  • 137
  • 2
  • 12
5
votes
1 answer

Solrnet error message Object of type 'System.Collections.ArrayList' cannot be converted to type 'System.String'

I am not sure if there is a bug within solrNet or I am doing something wrong. So first high level details before I jump into the detail. What I am doing: Running a solr.Query(SearchText) command. Error: Object of type 'System.Collections.ArrayList'…
osouthgate
  • 235
  • 4
  • 7
5
votes
1 answer

How to deal with relational data in Solr

We're right now planning to roll out Solr search for e-commerce site with faceted catalog navigation. We are having a little complex data schema for product and its specification attribute which are dynamic. We are certainly not able to understand…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
5
votes
5 answers

Solr on Windows Server 2008 R2

I need to install Solr on Windows Server 2008 R2, and integrate it with a asp.net mvc3 application. I have tried to find the docs on how to install/setup solr on windows server, but found no good docs / help. Moreover, after install I want to…
Krunal
  • 2,967
  • 8
  • 45
  • 101
4
votes
3 answers

Solr: How to search multiple fields

I am using solrnet. I have a title and Description fields. I need to search both fields simultaneously. How do I do this?
Luke101
  • 63,072
  • 85
  • 231
  • 359
4
votes
2 answers

SOLR - PathHierarchyTokenizerFactory Facet Query

I have been trying to perform a query on a field that is configured to be solr.PathHierarchyTokenizerFactory, but the query just returns all records. It seems that doing a facet query is just not working. Does anyone have a way of accomplishing…
Vince
  • 165
  • 1
  • 14
4
votes
1 answer

Indexing a numeric range in Solr

Does anyone know if it's possible to filter index a numeric range such as "1-5" to be "1","2","3","4","5"? I can't find any filter factories that does this. Example: "1-5 ABC" gets indexed as "1 ABC", "2 ABC", "3 ABC", "4 ABC", "5 ABC"
GucciProgrammer
  • 181
  • 2
  • 4
  • 13
1 2
3
40 41