solr

Unable to delete the solr entry, what am i doing wrong ?

I am using http://code.google.com/p/solr-php-client/ to communicate with the solr from PHP. Every thing is working fine, but Delete. I am using the deleteById function which in turn creates <delete fromPending="true" fromCommitted="true"><id>13967</id></delete> request, and it returns true. But in actual entry is not being deleted....

Can I search Solr documents by member of a multi-value field?

I have a set of Solr documents containing (among other fields) multi-value fields with percentage data or -1 if the value is null, e.g. <doc> ... <arr name="alpha"> <float>0.23</float> <float>0.23</float> <float>0.43</float> </arr> <arr name="beta"> <float>0.52</float> <float>-1.0<...

How to install log4jdbc on solr

What is the procedure for installing log4jdbc into Solr? http://code.google.com/p/log4jdbc/ ...

how to configure solr / lucene to perform levenshtein edit distance searching?

i have a long list of words that i put into a very simple SOLR / Lucene database. my goal is to find 'similar' words from the list for single-term queries, where 'similarity' is specifically understood as (damerau) levensthein edit distance. i understand SOLR provides such a distance for spelling suggestions. in my SOLR schema.xml, i ha...

How can I exclude certain URLs in Solr / Lucene

Hi, I have setup new instance of Solr indexing on a website. I want Solr NOT to index certain URL patterns. Is there any way of mentioning such exclude-pattern? Regards, Paras ...

update index in Solr, error: required field in SolrSchema not found in DataConfig

I'm trying to update my index, but I keep on getting the error: org.apache.solr.handler.dataimport.DataImporter verifyWithSchema INFO: UPC is a required field in SolrSchema . But not found in DataConfigfound in DataConfig I can't figure out why it's complainting, since: the first time I ran the import, it worked fine, and t...

Enabling Unicode Support in Solr

I want to enable the Unicode in Solr. Updating the index does not give me an error. But as soon as I try to search some Chinese text, I get an error. I have added the following line to my schema. <filter class="solr.CollationKeyFilterFactory" language="" strength="primary"/> and now I am getting following exception. org.apache.so...

Unicode error with Solr, any idea?

I have an index that takes textual description and places it in the index. I build XML object to pass them on to Solr where indexing is done. Now when I search in chinese text, I get back question marks for the indexed text whose XML was fine. Any idea where the problem could be? Thanks ...

File content via Solr to Lucene???

I have a question regarding searching a complete document. 1 - I have indexed a lot of documents on lucene. 2 - Each document has a single word per line. Suppose 200 words which becomes 200 lines. 3 - I know how to search lucene via Solr but; If suppose that i indexed the document mydoc.txt on lucene containing 200 words along with o...

dismax solr request handler MM , PS and Q.ALT

Hi all , I'm testing the dismax requesthandler , im trying to customize the mm ( Minimum Match ) Parameter ( i already tooked a look at the documentation ) <str name="mm"> 2&lt;-2 3&lt;-70% 5&lt;-50% </str> <int name="ps">100</int> <str name="q.alt">*:*</str> I have 3 Questions : mm , i understood what it does , i want...

What's the most productive frontend framework to use with SOLR as the backend?

Want to build a web app using SOLR as the only backend. Most of the data will be stored in SOLR via offline jobs although there is some need for CRUD. Looking at popular web frameworks today like Rails, Django, web2py etc. despite NoSQL the sweet spot for productivity still seems to be around active record implementations sitting on top...

Solr: QueryElevationComponent requires StrField uniqueKeyField error.

Hi, I recently installed solr. The example index (found at apache-solr-#.#.#\example\solr) seems to work, and, once copied to my solr home directory, I am able to access it through the admin pages. However when I try to implement a new index by replacing the schema.xml content with (taken from here): <?xml version="1.0" encoding="UTF-8"...

What's better? Solr or Lucene?

Possible Duplicate: Search Engine - Lucene or Solr What's better? Solr or Lucene? ...

dismax feat. stopwords , synonyms ect..

Hello all ;) does dismax support all the features like the standard requestHandler ? stopwords ? synonymes ? stemming ? did you hear about "edismax" ? Im using Solr1.4 for my first tests of the stopwords , it doesn't work .. well i think so.. i configured my DisMax to match all terms if count terms=[1,2] Example ( in french ) ...

Lucene/Solr Searching problem?

Hi I have a problem that i want to search in the specific locations in the indexed text, let we have a lucene document that contains text as <Cover> This document contains following items 1. Business overview. 2. Risk Factors. 3. Management </Cover> <BusinessOverview> our business is xyz </BusinessOverview> <RiskFactors> we have xyz...

Running Solr in read-only mode

I think I'm missing something obvious here. I have to imagine a lot of people open up their Solr servers to other developers and don't want them to be able to modify the index. Is there something in solrconfig.xml that can be set to effectively make the index read-only? Update for clarification: My goal is to use Solr with an existing ...

How to get total match count in Solr/lucene

I have a problem that i want to get total count of matched text in solr. but when i want to perform search using solr i have to set max rows parameter. can anybody explain how i could get the total matched count using solr efficiently? ...

Securing Solr/Tomcat on Windows

I need to secure a Solr/Tomcat instance running on Windows 2008. All read/write clients are within the LAN, so I have followed the Tomcat instructions here and the Solr instructions here. I am unsure that is enough, could you offer me any additional suggestions? or share how you go about securing Solr/Tomcat+Windows. I also would appr...

Standard analyzer, do not treat one character as a punctuation.

Hi, i am indexing some data in which '@' character should be treated like the way it is. I also need all the features provided by standard Analyzer (eliminating punctuation,trailing s etc), but this removes @ also. Is there any place where i can specify to treat a character as not a punctuation?Or any filter that can be used with white...

SolrNet/Solr - Update vs. Overwrite Document

I am using SolrNet to intreract with a Solr index. I have a daemon application writing to the Solr index with adds/updates/deletes. However with SolrNet an Add with the same unique-key over-writes (replaces) the existing document, instead of appending (combining) them. In Lucene I could do something like this where term is the Lucene te...