Re: Export Index Data.

2010-11-20 Thread Ahmet Arslan
> Is possible to export one set of documents indexed in one > solr server for do > a sincronization with other solr server? Replication? http://wiki.apache.org/solr/SolrReplication

Re: Issue with relevancy

2010-11-20 Thread Ahmet Arslan
> I am getting the below results ,But for the first doc the > score is higher > than second doc, Even though the prod_n only has > "Computers" word. > I want to push down the first doc to second.H You can use Jan's magic solution -that uses map function- for that. http://search-lucene.com/m/nK6t9j

Re: String field with lower case filter

2010-11-20 Thread sivaprasad
Thank you,It is perfectly working -- View this message in context: http://lucene.472066.n3.nabble.com/String-field-with-lower-case-filter-tp1930941p1935283.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with synonyms

2010-11-20 Thread sivaprasad
Even after expanding the synonyms also i am unable to get same results. Is there any other method to achieve this -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-synonyms-tp1905051p1935419.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to Transmit and Append Indexes

2010-11-20 Thread Alex Baranau
Make sure you are not going to "reinvent the wheel" here ;). There's been done a lot around the problem of distributes search engine. This thread might be useful for you: http://search-hadoop.com/m/ARlbS1MiTNY Alex Baranau Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - Hadoop - H

Re: Problem with synonyms

2010-11-20 Thread Robert Muir
On Tue, Nov 16, 2010 at 1:16 AM, sivaprasad wrote: > Query1:hdtv > > MultiPhraseQuery(searchtext:"high definit (televis > tv tvs)") > > and the number of results returned is ZERO. > > Query2:High Definition Television > > The parsed query is given below. > +searchtext:high +searchtext:definit > +(

Re: Problem with synonyms

2010-11-20 Thread Ahmet Arslan
What happens when you use synonym filter at index time only with expand="true" with this synonym_index.txt? I use only comma operator: hdtv, High Definition Television, High Definition TV, High Definition Televisions, High Definition TVs Also putting the synonym filter under the stem filter ca

Re: Master/Slave High CPU Usage

2010-11-20 Thread Ofer Fort
Another question on that configuration, when the "master" commits, how does the "slave" knows that the index has changed? Does it check the index and finds out that it has a newer version? Thanks again for the help, Ofer ב-19 בנוב 2010, בשעה 05:30, Lance Norskog כתב/ה: If they are on the same

Re: Master/Slave High CPU Usage

2010-11-20 Thread Erick Erickson
The slave polls. See: http://wiki.apache.org/solr/SolrReplication Best Erick On Sat, Nov 20, 2010 at 1:13 PM, Ofer Fort wrote: > Another question on that configuration, when the "master" commits, how does > the "slave" knows that the index has changed? Does it check the index and > finds out th

Empty value/string matching

2010-11-20 Thread Viswa S
Folks,Am trying to query documents which have no values present, I have used the following constructs and it doesn't seem to work on the solr dev tip (as of 09/22) or the 1.4 builds.1. (*:* AND -FieldName[* TO *]) - returns no documents, parsedquery was "+MatchAllDocsQuery(*:*) -FieldName:[* TO

Re: Empty value/string matching

2010-11-20 Thread Erick Erickson
Are you absolutely sure your documents really don't have any values for "FieldName"? Because your results are perfectly correct if every doc has a value for "FieldName". Or are you saying there no such field as "FieldName"? Best Erick On Sat, Nov 20, 2010 at 3:12 PM, Viswa S wrote: > > Folks,A

RE: Empty value/string matching

2010-11-20 Thread Viswa S
Yes I do have a couple of documents with no values and one with an empty string. Find below the output of a facet on the fieldName. ThanksViswa 1 > Date: Sat, 20 Nov 2010 15:29:06 -0500 > Subject: Re: Empty value/string matching > From: erickerick...@gmail.com > To: solr-user@lucene.apache.

Re: Master/Slave High CPU Usage

2010-11-20 Thread Ofer Fort
thanks Erick, but my question was regard the configuration Lance suggested, a configuration where i have two servers, set set logical master and slave, not as a true replication. Since both are running on the same machine, just have one only doing updates, and the other only queries, but both are u

Re: Empty value/string matching

2010-11-20 Thread Erick Erickson
I don't think that's correct. The documents wouldn't be showing up in the facets if they had no value for the field. So I think you're being mislead by the printout from the faceting. Perhaps you have unprintable characters in there or some such. Certainly the name:" " is actually a value, admitted

RE: Empty value/string matching

2010-11-20 Thread Viswa S
Erick, Thanks for the quick response. The output i showed is on a test instance i created to simulate this issue. I intentionally tried to create documents with no values by creating xml nodes with "", but having values in the other fields in a document. Are you saying that there is no way hav

Re: Master/Slave High CPU Usage

2010-11-20 Thread Lance Norskog
Ah! If the program doing the indexing has manual commits, the program could send a commit to the slave. If the indexer uses automatic commits, there is a trick: you can add a program as a postCommit event in solrconfig.xml. This can just be a shell script or a curl command that sends a commit to th

Re: Empty value/string matching

2010-11-20 Thread Lance Norskog
If a string field has a value with " ", that has to be searched for. fieldName:" " should work. If there is a 0-length value in a string field, that might be found with fieldName:"" but I have no experience with 0-length values. I don't know if this adds a value to the field or not: "" One way to

Re: Master/Slave High CPU Usage

2010-11-20 Thread Ofer Fort
OK, so to make sure i understand, even though the "slave" doesn't do any indexing, i will call commit and it will do nothing to the index itself, but will reload it? thanks On Sun, Nov 21, 2010 at 8:26 AM, Lance Norskog wrote: > Ah! If the program doing the indexing has manual commits, the progr