solrnet

Price Range Filter with Slider UI with Min & Max value from Solr in same query?

余生长醉 提交于 2019-12-24 01:27:56
问题 I'm working on an Solr integration for an e-commerce site. I want to offer a jQuery Slide Range UI (refer http://jqueryui.com/slider/#range). So visitor will be offered with a slider with min and max price on the page which they can use to define a range and accordingly the filter is applied. On Solr side, I understand how to make a range filter query on this. However, for displaying a range I need min and max price value. I'm not sure how to get this from Solr. Moreover, when other facets

Non-English Language support via SolrNet

旧街凉风 提交于 2019-12-23 02:50:27
问题 I am using SolrNet to search over Solr from an .NET application. Everything works fine when I search over English words. However if I use spanish words like español , I get no search result though I have indexed them. When I debugged over Solr, I found that the query was parsed as espaA+ol . Do I have to do some UTF-8 encoding or does SolrNet supports search over only ASCII characters? 回答1: This is not a SolrNet issue, it is related to how Solr handles characters that are not in the first 127

Apache tomcat server is stopped after several commit of documents in Solr 4.4

谁都会走 提交于 2019-12-23 02:49:26
问题 We have successfully installed Solr 4.4. We have done setup in windows 7. With the tomcat 8.0, Java jre 7 and Solr 4.4. We have done commit for some documents. But unfortunately after some commit of document our Apache tomcat server is stopped. And at time we get the following error in application. System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing

SolrCloud Indexing/Querying without a Smart-Client

青春壹個敷衍的年華 提交于 2019-12-22 10:38:06
问题 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 single collection, split into two shards, replicated across two separate nodes/servers, and I have a standard HTTP load-balancer in front of the servers (a scenario mentioned here). If I use the standard compositeId router, I believe that indexing

Solr MoreLikeThis boosting query fields

时光毁灭记忆、已成空白 提交于 2019-12-22 05:14:58
问题 I am experimenting with Solr's MoreLikeThis feature. My schema deals with articles, and I'm looking for similarities between articles within three fields: articletitle, articletext and topic. The following query works well: q=id:(2e2ec74c-7c26-49c9-b359-31a11ea50453) &rows=100000000&mlt=true &mlt.fl=articletext,articletitle,topic&mlt.boost=true&mlt.mindf=1&mlt.mintf=1 But I would like to experiment with boosting different query fields - i.e. putting more weight on similarities in the

what is the best practice to implement SOLR in Ecom applications?

僤鯓⒐⒋嵵緔 提交于 2019-12-21 20:54:30
问题 I am new user to SOLR. I am working on an E-commerce web application which have SQL database. I want to implement SOLR for my "category page" in application where we will show products of that category with specific information like available stock , price and few more details. Also we want to restrict product display on basis of stock availability, if there is no stock then we wont display those products. I am trying to implement SOLR with Delta import queries to make my category pages

How to boost fields in solr

夙愿已清 提交于 2019-12-21 12:13:55
问题 I already have the boost determined before hand. I have a field in the solr index called boost1 . This boost field will have a value from 1 to 10 similar to google PR rank. This is the boost that should be applied to every query ran in solr. here are the fields in my index Id Title Text Boost1 The boost field should be apply to every query. I am trying to implement functionality similar to Google PR rank. Is there a way to do this using solr? 回答1: you can add the boost during query e.g. q={

Solr Query with LIKE Clause

谁都会走 提交于 2019-12-21 10:32:53
问题 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 - how do you write a LIKE query in Solr? I'm using the SolrNet library, if that makes a difference. 回答1: You just search for "New York", but first you need to properly configure your field's analyzer. For example you might want to start with a field type

SolrNet queries with boost functions

人走茶凉 提交于 2019-12-19 10:25:54
问题 I'm trying to use this library (which looks very nice) but I'm having difficulty understanding how to add extra params to my queries such as boost functions etc. How can this be done? 回答1: You can use the ExtraParams property of QueryOptions to add any parameter to the Solr querystring. Example: ISolrOperations<Document> solr = ... var results = solr.Query("myquery", new QueryOptions { ExtraParams = new Dictionary<string, string> { {"bf", "recip(rord(myfield),1,2,3)^1.5"} } }); 来源: https:/

How to install SOLRNET [closed]

我的未来我决定 提交于 2019-12-19 03:56:35
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Hi I am very new to SOLRNET. Can you please explain where I can get the software of SOLRNET,how to install it. Lucene in java has a port for .NEt right.So is this a port to Solr in java??? Thank you 回答1: where I