Hi,
I am interested to find out what is the best/fastest (most efficient) way to query solr in a solr/mysql/app set up. I have a mysql DB that has one large main table and several smaller tables in a relational schema. I am also building an app which uses the hierarchy and builds menus based upon the data in the related tables.
I start...
Hi all,
I am new to Solr,
I am using Solr -1.5( nightly bulid) to index my data which is in xml format...
Here is my sample data,
<row id="359" lat="40".6368913000" lng="-74.1339055000" body="There's a new kid on the block at the Central Park Zoo."></row>
<row id="360" lat="40.6369362000" lng="-74.1340121000" body="@Pezzettino In Ma...
I want to display my search results in a google-like way:
<title>
...<snippet>...<snippet>...<snippet>...
<link>
I'm concatenating the highlighted snippets, but I need to know when the snippets are at the beginning of the end of the content field (do decide whether to put the starting/ending "..."'s in)
Does anyone know how I can get...
I'm really puzzled why it keeps dying with java.lang.OutOfMemoryError during indexing even though it has a few GBs of memory.
Is there a fundamental reason why it needs manual tweaking of config files / jvm parameters instead of it just figuring out how much memory is available and limiting itself to that? No other programs except Solr ...
Hi,
Please tell me how can i determine the version number of currently running solr ?
Thanks in advance.
...
Hi,
Inorder to understand
- cartessian tiers,how are they contributing in location based search
- What is happening internally when we give query to solr like http://localhost:8983/solr/select/?q=name:Minneapolis AND _val_:"recip(hsin(0.78, -1.6, lat_rad, lon_rad, 3963.205), 1, 1, 0)"^100
and other functions like
ghhsin(),sqedis...
Hi,
I'm using xslt do display Solr response in html, my xsl file is in UTF-8 and non-latin characters (arabic) are nicely displayed, the problem is that when I use
disable-output-escaping="yes" to parse html tag, the non-latin chars become a series of question marks ?????????
Any clue ?
Thanks in advance
...
Please find below necessary steps that executed.
Iam following same structure as mentioned by you, and checked results in the admin page by clicking search button, samples are working fine.
Ex:Added monitor.xml and search for video its displaying results----- search content is displaying properly
Let me explain you the problem which ...
Is solr a web application that can run on the same instance as a spring app on tomcat?
I've always run solr on its own server (jetty), along with a asp.net app so a bit confused if you need solr to run on its own server.
Or can you run both a spring web app and solr on the same instance as tomcat, both running on port 80?
...
I have indexed some documents that have title, content and keyword (multi-value).
I want to search on title and content, and then, within these results boost by keyword.
I have set up my qf as such:
<str name="qf">
content^0.5 title^1.0
</str>
And my bq as such:
<str name="bq">keyword:(*.*)^1.0</str>
But I'm fairly sure t...
Hi,
I want to format the solr result page instead of just a xml-
show a user only ten results at a time (one page) and provide links for the next or previous page of results.
And add some css .
where and how do i do it?
Please guide me.
Thanks in advance.
...
Hey guys,
I've got a pretty much vanilla install of SOLR 1.4 apart from a few small config and schema changes.
<requestHandler name="standard" class="solr.SearchHandler" default="true">
<!-- default values for query parameters -->
<lst name="defaults">
<str name="defType">dismax</str>
<str name="echoParams">expl...
Hi,
I was browsing the web looking for a indexing and search framework and stumbled upon Solr.
A functionality that we abolutely need is to boost results based on what field contained the hit.
A small example:
Consider a record like this:
<movie>
<title>The Dark Knight</title>
<alternative_title>Batman Begins 2</alternative_title...
I am running Solr 1.4 with the Jetty web server. I have a transformer, written in JavaScript in my data-config.xml file, that looks as follows:
<script><![CDATA[
function transform(row) {
var itemColor = row.get('ItemColor');
if (itemColor == 'SORT' || itemColor == 'BLACK') {
row.put...
My runtime environment is still on JDK1.4 but I like the Solr features related to how documents are ingested and indexed. Would I be able to index my documents using Solr offline on a recent version of the JDK, copy the index over and use it in my runtime environment with an older version of the JDK?
Version wise, Solr 1.4.0 uses Apach...
I wonder if there is a way to limit the spellchecking to just a part of the index.
Example i have an index containing different products used in different countries.
when a search is performed i limit the solr query to just return the results for COUNTRY X, however the suggestions that are returned are not limited to COUNTRY X, instead...
hi!
I have an application which stores all kind of data about people.
The current cfsearch functionality (in Verity) includes searching documents that are attached to these people.
If i have 2 documents attached to 1 person, 1 with say ABC in it and the other with XYZ in it, my ideal searchresult for "ABC AND XYZ" would return the 1 pe...
We are currently replacing our product search from mysql to a SOLR backend. Our customer often search for terms like 'startrek online', 'starwars', 'redsteel' or even 'grandtheftauto'. Is there a method in SOLR to either expand or spellcheck these searches into syllables eg.'star trek online', 'star wars', 'red steel', 'grand theft auto'...
I'm using acts_as_solr for searching in a project. Unfortunately, the index doesn't seem to be updated for the associated models when a model is saved.
Example:
I have three models:
class Merchant < ActiveRecord::Base
acts_as_solr :fields => [:name, :domain, :description], :include => [:coupons, :tags]
...
end
class Coupon < Act...
I was trying to build a 'site search' on a simple http site.
I have a site, lets call it www.mycompany.com, that is pure html.
Is there an easy way to use solr to index the entire site to build a full text search using solr as the engine?
I googled for a bit and could not find anything specific of the type:
Do A
Do B
...
profit!
Le...