Is it possible to add boosts to docs and fields in Solr 1.4 DIH when using a JdbcDataSource? The documentation seem to suggest it's possible but I can't find any examples.
There are a few examples of how to add the boost="2.0" attribute to your docs/fields in XML imports, but how do you do the same with the JdbcDataSource?
The closest ...
Hi!
I am first day with SOLR, and of course, i have some problems with it. I need to index a database, which is postgresql database. I defined fields in data-config.xml file, added DataImportHandler to solrconfig.xml, added postgresql jar to solr folder. But, when i am starting SOLR, i have the following error:
2009-10-27 16:08:53.28...
I have a postgresql database. In table, which i need to index, i have about 20 million rows. When i want to index them all in one attempt(smth like "select * from table_name"), i have Java OutOfMemory error, even, if i`ll give to JVM more memory.
Is there any option in SOLR to index a table part by part(e.g. execute sql for first 10000...
Hello, I'm pretty new to Solr but I'm trying to integrate it in to my website. I've been looking in ways to "boost" results in Solr queries, but I'm having a hard time understanding how to achieve what I'm trying to do.
I'm trying to "boost" certain results in Solr searches that have the field "userId" set to 1. For example, if there we...
I was trying to do do a boolean search 'sname:'.$user->name.' OR sname:xxxxxx; , i am not getting any results where as sname:xxxxxx; works fine. i even added mm=1 with the query modify hook. can somebody guide me how i can accomplish this.
Here is my code.....
$keys = "";
$filters = 'sname:'.$user->name.' OR sname:xxxxxx;
//print($filt...
how is it possible to integrate solr with heritrix ?
I want to archive a site using heritrix and then index and search locally this file using solr.
thanks
...
I am just a learner in Drupal, Solr so can any one guide me how to implement indexing and how it is being updated in solr indexing whenever any updates being happened in Database so that in searching to get the recently posted also.
...
How can i pass additional parameters to SOLR, while importing from database, using dataimport. Example:
I have sql query, smth like this:
Select * from documents where documentId > [myParameterHere]
Can i somehow insert value to [myParameterHere]?
...
hey guys
ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box under Tomcat 6.x and have just gone over some of the basic Wiki entries.
I have a few questions, and require some suggestions too.
Solr can index data in files (XML, CSV) and it can also index DBs. Can you also just point it to a URI/domain, and...
Note: This question originally applied to Xapian, but due to cross-platform issues and poor understanding of Xapian I (our team) chose Solr instead.
I'm looking for snippets, tricks, tips, links, and anything to watch out for (gotchas). My technology stack includes:
MySQL 5.1 (Not really pertinent)
Red Hat and Windows configurations w...
hey guys, just installed solr, edited the schema.xml, and am now trying to index it and search on it with some test data.
In the XML file I'm sending to SOLR, one of my fields look like this:
<field name="PageContent"><![CDATA[<p>some text in a paragrah tag</p>]]></field>
There's HTML there, so I've wrapped it in CDATA.
In my SOLR s...
I want to learn Solr.May i know some good tutorial/links for the same?
Is Solr available for .net too?
...
Does Apaches Solr search engine provide approximate string matches, e.g. via Levenshtein algorithm?
I'm looking for a way to find customers by last name. But I cannot guarantee the correctness of the names. How can I configure SOLR so that it would find the person
"Levenshtein" even if I search for "Levenstein" ?
...
I have Solr with indexed database. In my database all data is in Latvian. The problem is, I need to be able to search word Riga as if it is word Rīga. Of course, i can define synonym - Rīga = Riga, but can i just define, that letter ī is letter i? I read something about solr.ISOLatin1AccentFilterFactory, but as far as i understood, this...
hi i am interested to do web crawling.i was working on solr.so,solr do web crawling or what are the steps to do web crawling?
...
ok guys, say in my Schema I have 4 fields:
<field name="SiteIdentifier" type="string" indexed="true" stored="true" required="true"/>
<field name="Title" type="text" indexed="true" stored="true"/>
<field name="Content" type="text" indexed="true" stored="true"/>
<field name="URL" type="text" indexed="true" stored="true"/>
Is there some ...
I am implementing a solution in Solr where I have a lot of values in my facet.
As opposed to displaying a long list of values(facets) down the side of my page I want to display the top 10. And also have one for other.
For instance I would be faceting on Nationality.
So, I do not want to have a list of every nationality, Nor do I want ...
I saw only ways using delta import with last_modified. Is there some other ways to do delta_imports withut using timestamps? For example, if i have unique key(integer), can i tell SOLR to index only those, which are greater then my last unique key?
...
I've written a custom log4j appender that creates a new Solr document for each log entry and I'm having problems deploying it to JBoss.
The source is viewable on github but the real problem is trying to use the appender from JBoss.
The relevent bits of jboss-log4j.xml look like this:
<appender name="SOLR" class="com.stuartgrimshaw.sol...
Hi all,
We have set up an Solr index containing 36 million documents (~1K-2K each) and we try to query a maximum of 100 documents matching a single simple keyword. This works pretty fast as we had hoped for.
However, if we now add "&sort=createDate+desc" to the query (thus asking for the top 100 'new' documents matching the query) it run...