Hello,
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 complex scenarios like the following. Essentially I have an Auction class which contains ...
I have a SolrPhpClient which I use to communicate with Solr.
I can make queries very easy, like:
$solr->deleteByQuery("id: 12345")
Anyways, I wonder if anybody out there know of a way to delete all records in a Solr index EXCEPT ones I have inside an array...
Is this even possible...
Thanks
...
hi all, Solr newbie here.
I have created a Solr index and write a whole bunch of docs into it. I can see
from the Solr admin page that the docs exist and the schema is fine as well.
But when I perform a search using a test keyword I do not get any results back.
On entering * : *
into the query (in Solr admin page) I get all the res...
I'm looking at the need to import a lot of data in realtime into a Lucene index. This will consist of files of various formats (Doc, Docx, Pdf, etc).
The data will be imported as batches compressed files, and so they will need to be decompressed and indexed into an individual file, and somehow relate to the file batch as a whole.
I'm ...
Hey,
We have an extremely large database of 30+ Million products, and need to query them to create search results and ad displays thousands of times a second. We have been looking into Sphinx, Solr, Lucene, and Elastic as options to perform these constant massive searches.
Here's what we need to do. Take keywords and run them through t...
I'm dealing with an existing web platform that uses SOLR to generate query-based datasets. We have an issue with near real-time (< 1 minute) publishing of new content. There is a caching mechanism in place to help reduce resource load on the SOLR servers, but this caching introduces a lag time in the appearance of new content in SOLR-que...
I wonder how to backup (dump) a Solr database?
If it is only to copy some files, then please specify which files (filename, location etc).
Thanks
...
Hi, I'm looking into a search solution that will identify strings (company names) and use these strings for search and facets in Solr.
I'm new to Nutch and Solr so I wonder if this is best done in Nutch or in Solr. One solution would be to generate a Parser in Nutch that identifies the strings in question and then index the name of the...
I have a document structure in Solr that looks something like this (irrelevant fields excluded):
<field name="review_id" type="int" indexed="true" stored="true"/>
<field name="product_id" type="int" indexed="true" stored="true"/>
<field name="product_category" type="string" indexed="true" stored="true" multiValued="true"/>
product_id ...
1)I have a field storing timestamp as text (YYYYMMDDHHMM). Can i get the results as i get with date faceting? (July(30),August(54) etc)
As per my knowledge Solr currently doesn't support range faceting, even if it does in the future , text will not be recognized as integer/long.
2)Is there any way to get total count of facet results for...
I am using Solr 1.3. Recently, QA report a bug for the search functionality that there is no result for the word "Jackie". But, when i looked into document using luke, there is lots of document with the word "jackie" e.g.
Jackie Holding, Kumar Rameshwaram, Morris Jackson
Jackie Holding, Brendon Wessel, Smith McShlam
Jackie Redmond, ...
Hello,
I would like to be able to show in my UI what the query terms were that solr used to run the final query. For example, I might type the query "run" but behind the scenes solr will use stemming to also query "ran" and "running", I may also have a synonym defined which has "run = sprint".
I would like to show the user that although...
I have a query like "+(+Contents:"risk factors" +Contents:"item 503" +Contents:concise) +(DocID:2548093)" it filters result but highlighting not works on the result of the query..
I tried to use all highlighters available in solr by appending hl.usefastvectorhighlighter
but still highlighting does not works.. can any one help me on this...
I want to get the ID of one lucene Document using SolrNet is it possible if yes then how.
...
I'm not sure if this belongs here or on super user.
We have set up Tomcat 7 on our server and have configured Solr. We can go to localhost/solr and localhost/solr/admin, but on the admin screen when we click "configure" or "schema" we get a 404 error for "/solr/admin/file/?file=solrconfig.xml"
We tried entering the url /solr/admin/get...
I tried act_as_solr_reloaded plugin for searching option in my project
I have two models which are brand and sku and its association are
class Brand < ActiveRecord::Base
acts_as_solr :include => [:skus],:fields => [:id,:name,:description,:active]
end
class Sku < ActiveRecord::Base
acts_as_solr :include => [:brand],:fields => [:id,:nam...
Hye Everybody
I faced a problem when deploying solr on jboss. I wanted to log the messages for solr on jboss into a separate file like solr.log instead of appearing in console or server.log. So I tried by making changes in jboss-log4j.xml and added following configuration into it.
<appender name="SOLR" class="org.jboss.logging.append...
Hello, I am total beginner with Solr and have a problem with unwanted characters getting into query results. For example when I search for "foo bar" I got content with "'foo' bar" etc. I just want to have exact matches. As far as I know this can be set up in schema.xml file.
My content field type:
<fieldtype name="textNoStem" class="so...
Hi All I have a problem that when i Query Solr it matches results, but when i enable highlighting on the results of this query the highlighting does not work..
My Query is
+Contents:"item 503"
Contents is of type text and one important thing in text item 503 appear as "item 503(c)", can open parenthesis at the end create problem?? pl...
Let's say I have People, and People has_many Watermelon .
I have a filter_by that can work for People attributes, for example :
:filter_by => 'has_eaten_today'
But can I do a :filter_by for the nested attribute of Watermelon? For example :
:filter_by => 'watermelons.created_at'
Thanks!
...