Questions tagged [solrnet]

SolrNet is an Apache Solr client for .NET

SolrNet is an Apache Solr client for .NET

602 questions
0
votes
3 answers

How to perform indexing/search on multiple tables in SolrNet

I am using SolrNet to index/search data on set of tables. I have two tables Category and Item. Both the tables have same fields, Hence i have a base mapping class form which i derive. [Serializable] [XmlRoot(ElementName = "SolrSearchEntity",…
Prasad
  • 137
  • 2
  • 12
0
votes
2 answers

Behavior of the OR clause in Solr

My solr index contains documents which have a field named department. This field is a multivalue non-required int field. I want to construct a query whose result must be union of All the documents that do not contain the field department All the…
Socratees Samipillai
  • 2,985
  • 1
  • 20
  • 20
0
votes
2 answers

Solr: How to get Facets with matching keywords

I am not sure if this is possible or what's the best way to do it? How can I get facet count in Solr where it counts as in following example. Let's say I have got following values equal to the number of times they repeat in a field.. Tv = 100 Sony…
eadam
  • 23,151
  • 18
  • 48
  • 71
0
votes
1 answer

Solrnet/Tomcat 7 - writing several large documents memory consumption growing alarmingly

I am writing very large (both size and count) documents to a solr index(100s of fields with many numeric and some text fields) . I am using Tomcat 7 on W7 x64. Based on @Maurico's suggestion when indexing millions of documents I parallelize the…
Mikos
  • 8,455
  • 10
  • 41
  • 72
0
votes
1 answer

Solrnet grouping - can I get n results per group

I am using solrnet 0.40 grouping functionality. And I am grouping on a single field (say filename). But in the results I would like to display multiple hits for the group (filename). FileName-1 hit-1, hit-2....hit-n FileName-2 hit-1,…
Mikos
  • 8,455
  • 10
  • 41
  • 72
0
votes
1 answer

while getting data from solr, i am having the error blow

while getting data from solr, i am having the error blow an item with the same key has already been added public static void Solryeg() { ISolrOperations solr = ServiceLocator.Current …
yuri
  • 11
  • 3
0
votes
1 answer

Solr returning 400

here is the object model.When i try to commit Product to Solr, returning unknown field loca public class Product { [SolrUniqueKey("id")] public string Id { get; set; } [SolrField("manu")] public string Manufacturer { get; set; } …
DarthVader
  • 52,984
  • 76
  • 209
  • 300
0
votes
1 answer

Spellchecking w SolrNet 400 Bad Request using colon : in spellcheck query

I'm using SolrNet and when I pass a query that has a colon in it, I receive this error: Apache Tomcat/6.0.32 - Error report The request sent by the client was syntactically incorrect (null). The code sample looks like this: var results =…
Doug
  • 14,387
  • 17
  • 74
  • 104
0
votes
1 answer

How to integrate solr suggester in solrnet with external source location?

I've refereed this link and trying to implement and got an error "Bad Request". What could be the reason? or Is there any tutorial out there that will helpful to implement it? or How to integrate solr suggester in solrnet with external source…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
0 answers

Solr Query for filter document with white space in value in facet field

For Solr 3.6. I want to query Solr data for one of the faceted field for a filtering white space " " as a value, but I doesn't know how to do it? I have tried several times with white space, ' ' & " " but none of them work. There is a data document…
Krunal
  • 2,967
  • 8
  • 45
  • 101
0
votes
1 answer

Different Solr Instance with different indexed data?

I'm working on e-Commerce site which is based on ASP.NET MVC3. I've implemented SolrNet 3.6 for improving search. For that, Only one solr instance is running which is served by Tomcate Apache 7.0 . My client is demanding to develop another…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
0
votes
0 answers

can't connect to solr server

We have a linux box set up with the Solr server and a co-worker wrote a java program to interface with it for searching. I've been asked to do the same but with .net for another product of ours so I downloaded the docs and sample files from google…
geoff swartz
  • 5,437
  • 11
  • 51
  • 75
0
votes
2 answers

Solrnet datetime format

I have a process that updates documents in Solr with SolrNet, which are originanlly filled with data import from a Data Base. I am having trouble with the DateTime formats because the documents indexed from the Data Base have datetimes like this…
Nicole
  • 1,356
  • 3
  • 21
  • 41
0
votes
1 answer

Extract object into Solr

We need to extract and store C# objects into Apache Solr but weren't sure if anyone has done work on this. Here's an example: A Word document being indexed can have a Persons list associated with it. Each Person object in the list has these…
Alex
  • 34,699
  • 13
  • 75
  • 158
0
votes
2 answers

Solr deployment strategies for 100% Up Time while creating whole index

I'm working on a Solr 3.6 with ASP.net MVC3 e-commerce project. I've an index of appx. 1 lac products in Solr. There is some changes in requirements, and we need to rebuild the whole index. Whole indexing is taking almost 1 & half hour during which…
Krunal
  • 2,967
  • 8
  • 45
  • 101