solr

solr server stop problem

hi, my solr server is running on Linux platform but some time it(solr server) stops automatically , so will u tell me about that what can i do to solve the problem ...

Configuring HttpClient in Spring using Basic Authentication

Hi all, I'm implementing a SOLR server in our application. We use the CommonsHttpSolrServer in the SolrJ package to connect to our solr server which uses the commons-httpclient. We also use Spring. Now our sysadmin secured the solr server (with good reason) and used Basic Auth. How can I instantiate a HttpClient with Basic Auth to be ...

log file location in solr

hi , I am using solr server (linux) and some time it stops automatically, so can some body plz tell me that where i find log files for this problem in solr. ...

Unexpected keyword argument 'faceted'

I am trying to implement search with Django haystack and solr, but I get this error when trying to implement faceted searching on a SearchIndex and then trying to run the server: TypeError: init() got an unexpected keyword argument 'faceted' Here is the SearchIndex: import datetime from haystack.indexes import * from haystack impo...

Question related to solr ExtractRequestHandler?

Hi All I have configured Extract request handler with solr and now when i submit some pdf document to solr using curl it generates following error Document [NULL] missing required field DocID my schema is like <fields> <field name="DocID" type="string" indexed="true" stored="true"/> <field name="Contents" type="text" indexed="true"...

nutch crawler - how to set maximum number of inlinks per host

How can i set maximum number of pages to index per host? i don't want to index all million pages of site, i want to index only first 100000 found pages. ...

Solr stops responding (or slows down to molasses)...(Solr newbie)

Running multi-core Solr under Tomcat 6.0 /Win 2008 Server and ASP.NET queries via SolrNet. One of the cores is huge i.e. ~25 million documents (~20 GB disk-space) and several fields. The other 3 cores are much smaller (few gigs each). After a couple of queries to the large index, Solr slows down dramatically and stops responding i.e. ca...

Index time boosting is not working with boosting value in document level

We are having 10 documents (all 10 documents with name_s="john" or name_s="john abraham") with boosting value 10.0 in doc level out of 100 documents. DataImportHandler is used to index the documents in xml. We gave omitNorms="false" in a field called "text" and having schema.xml configured as below. Default query field is "text", when i ...

How can I set up Solr to tokenize on whitespace and punctuation?

I have been trying to get my Solr schema (using Solr 1.3.0) to create terms that are tokenized by whitespace and punctuation. Here are some examples on what I would like to see happen: terms given -> terms tokenized foo-bar -> foo,bar one2three4 -> one2three4 multiple words/and some-punctuation -> multiple,words,and,some,punctuation ...

How to increase timeout for Solr

I am updating my index using Solr. I understand that to increase the timeout duration of the transaction in Jetty. But I can't seem to find the settings file i.e. XML config file. Where is it located? I am using Solr 1.4.1 Thanks ...

solr delete no speceiced field index records

in my solr index,there is a field call price which is product 's price ,but when i import product records to solr,there have some record didn't have price,so there's some issue when i invoking solr,because some records in solr index didn't have the price field,how can i delete those records that didn't have price field? ...

Boost based on value

In Solr, I need to do a query like this q=(CityID:20 OR CityID:100 OR CityID:5 OR CityID:12) I need the query to return only 1 document which is the first occurence of CityID in specific order 20,100,5,12 Can I apply some kind of boosting for this? Thanks. ...

How do I get solr term frequency?

hi All I have a question that how could somebody get term frequency as we do get in lucene by the following method DocFreq(new Term("Field", "value")); using solr/solrnet. ...

Choosing a solr/lucene commit strategy

I have 120k db records to commit into a Solr index. My question is: should I commit after submitting every 10k records, or only commit once after submitting all the 120k records? Is there any difference between these two options? ...

Sunspot Solr matching a single object

I use the Sunspot gem in my RoR app to do searches on the Post model, and it works great for that. However, I need to use it's matching algorithm against a single post object. For example, I can search all Posts like this: Sunspot.search Post do ... end But, I need to do the search against a single post object, like so: Sunspot.se...

searching in solr for specific values with dismax

Hi, I'm using the dismax handler to perform solr search over records (boosting some fields). In my index, I have a RetailerId for each document, as well as other fields. My query needs to search for documents that have this RetailerId as well as keywords: localhost:8983/solr/select?qt=dismax&q=RetailerId:(27 OR 92) AND socks What is...

Jetty does not recognize Solr installation as a context, what's wrong ?

Sorry for the vague question but I'm newbie in CentOs and Solr I have installed Java, Jetty and Solr, I start the Solr with: java -jar start.jar in the examples folder of the solr I have put in my CentOS box and it says : 2010-10-13 13:12:41.623::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2010-10-13 13:12:41.842::INFO: jett...

How to index records in Solr faster (and not impact ColdFusion web server)? Two JVM?

I have a 64 bit server, 8 GB RAM, dual quad CPU. No resources are ever hitting 100% (except, I guess, the JVM -- right?). I need to index several million records for Solr, but the machine is in production. I recognize having a second machine for indexing would be helpful. Should I dedicate a second instance of the JVM, dedicated to Sol...

Question related to phrase search in lucene/solr?

hi all I have question is it possible to perform a phrase search with wild cards in solr/lucene as if i have two queries both have exactly same results one is +Contents:"change market" and other is +Contents:"chnage* market" but i think the second should match "chages market" as well but it does not matches it. Any help would be...

how to post xml to solr in mvc.net(c#)

hi ... I am using solr search in my mvc.net application, all the search is working well. but now i want to post my xml to solr by code(c#), so plz tell me how i post my xml to solr using mvc.net c(#) ...