Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
42
votes
1 answer

solr search for documents where a field doesn't exist

How do I search for those document in a SOLR index which do not contain a specified field?
Midhat
  • 17,454
  • 22
  • 87
  • 114
22
votes
1 answer

Solr: What are the benefits of length normalization/omitNorms=false?

We're using Solr to search articles of various lengths. We index both descriptive metadata (title, author, category, keywords, etc) and the full article text. We do not boost relevance at index time - all boosts are done at query time (we use…
Oskar Austegard
  • 4,599
  • 4
  • 36
  • 50
20
votes
2 answers

Solr Text field and String field - different search behaviour

I am working on Solr 4+. I have several fields into my solr schema with different solr field types. Does the search on text field and string field differs? Because I am trying to search on string field (which is a copy field of few facet fields)…
Ankita
  • 1,416
  • 4
  • 17
  • 42
17
votes
1 answer

Difference between StandardTokenizerFactory and KeywordTokenizerFactory in Solr?

I am new to Solr.I want to know when to use StandardTokenizerFactory and KeywordTokenizerFactory? I read the docs on Apache Wiki, but I am not getting it. Can anybody explain the difference between StandardTokenizerFactory and…
ravidev
  • 2,708
  • 6
  • 26
  • 42
15
votes
3 answers

Solr query syntax for array field

How do I search within an array field? I am using solr 4.2 with default settings. I indexed a few html and pdf documents using SolrNet. Here is a sample result for such a document when I search using the admin search *:* enter code here
chadisbad
  • 385
  • 2
  • 4
  • 16
13
votes
6 answers

How to maintain state or queue of requests in Web API

I have situation, where I have to receive requests in a Web API method, queue those request and then send the bulk to a database (Solr instance). I am not really sure how do I maintain a batch of requests from multiple sources. For now I am writing…
user2711965
  • 1,795
  • 2
  • 14
  • 34
12
votes
2 answers

Solr search query facet is returning only 100 results

I am calling solr search hosted on a different machine with a query. When I wrote a query, it returns numFound=2405 matching docs. we have more than 10000 doc indexed. But the facet results that is being returned has only 100 count of ids that i am…
Anu
  • 753
  • 2
  • 13
  • 22
11
votes
1 answer

Sorting with Multivalued Field in Solr

I Have a Solr index that stores Price in a multivalued field for each Product. I need to sort the result set by Price where the Price is Low to high and High to Low. I try to use sorting on Price it's showing Error You can't sort on multivalued=True…
Ashutosh
  • 111
  • 1
  • 2
  • 6
11
votes
2 answers

Solr search query for dynamic fields indexed

I am implementing the solr search in my project . I have one question regarding how do i search a dynamic fields that is created in a solr index Eg:- this is the tag that is formed in the index And I am trying to search from solr using this query…
Selwyn
  • 1,621
  • 6
  • 21
  • 38
11
votes
6 answers

SOLR dataimport 404 Error

I m facing Problem with Dataimport in Solr. if i call this Link http://localhost:8983/solr/dataimport?command=full-import&clean=false showing Error HTTP ERROR 404 Problem accessing /solr/dataimport. Reason: NOT_FOUND I have follow Same as per Solr…
Ashutosh
  • 201
  • 4
  • 16
11
votes
1 answer

How to get Started with Solr.NET

Hey I was wondering how to get started with Solr.NET even the basics what files to download etc, I checked the net ofcourse but its like every site saying something different some are older so just not sure. Cheers
StevieB
  • 6,263
  • 38
  • 108
  • 193
11
votes
3 answers

Where / How to fit Solr into ASP.net MVC app (using nHibernate / Repository Pattern)

I'm currently in the middle of a reasonably large question / answer based application (kind of like stackoverflow / answerbag.com) We're using SQL (Azure) and nHibernate for data access and MVC for the UI app. So far, the schema is roughly along the…
Alex
  • 37,502
  • 51
  • 204
  • 332
10
votes
2 answers

Solr - Results that contain all terms, in any order

In a SOLR install, when I search against a field with a multi-word search term I want SOLR to return documents that have all of the terms in the search, but they do not need to be in the exact order. For example, if I search for title of Brown…
jmacinnes
  • 1,589
  • 1
  • 11
  • 21
10
votes
2 answers

Solr Query with LIKE Clause

I'm working with Solr and I'd like to know if it is possible to have a LIKE clause in the query. For example, I want to know all organizations with "New York" in the title. In SQL, this would be written like Name LIKE 'New York%'. My question -…
Mark Meisel
  • 851
  • 2
  • 12
  • 24
10
votes
3 answers

Response is not available in this context

I have problem. Locally everything works fine but in the production server it always throws exception 'Response is not available in this context'. What can be the problem? I've noticed that a lot of people experience this problem due to some changes…
Oybek
  • 7,016
  • 5
  • 29
  • 49
1
2 3
40 41