Re: Configuring Replication

2011-12-23 Thread Dirceu Vieira
Hi, If you're getting 404, it means that your request handler is not configured properly, check the console for errors... If any, post here and we might be able to help. -- Dirceu Vieira Skype: dirceuvjr Mobile: +47 9753 2473 Sent from my HTC On Dec 23, 2011 12:56 PM, "Ahson Iqbal" wrote: > >

Re: Migration from Solr 1.4 to Solr 3.5

2011-12-23 Thread Siva Kommuri
One migration strategy is to fall back to XML parser from the javabin parser, upgrade Solrj jars to 3.4, turn off replication, upgrade master, upgrade each of the slaves while turning on replication. Once all slaves have been upgraded/replication turned on - switch back to javabin parser. Best

Storing only unique terms in index

2011-12-23 Thread Artem Lokotosh
Hi, all I have catchall "text" field, and use it for searching.This field stores the non-unique terms. For example, this field stores the following terms:test test searchIs it possible to store non-unique terms in the following way: "term"|"number of terms", i.e. test|2 search? I guess it should r

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> if in this case, then i think reindex the whole document > probably will be > easily right ? as compare to write to text file (look like > more work and > probably performance same ? ) I don't think dumping id,vote pairs to a text file is more work than indexing whole document that has more tha

Re: Migration from Solr 1.4 to Solr 3.5

2011-12-23 Thread Erick Erickson
Have you looked at CHANGES.txt in ? It has upgrade instructions for every release. Note that in general, newer Solr will *read* an older index (one major revision back. i.e. 3.x should read 1.x, but 4.x will not read 1.x. Note also that there was no 2.x solr). The cautions in the upgrade notes are

Re: Configuring Replication

2011-12-23 Thread Erick Erickson
We need some more details. It might help to review: http://wiki.apache.org/solr/UsingMailingLists I don't even know how to go about trying. Are you clicking on the master? Slave? Have you indexed any docs on the master? Details matter. But to your second point, yes this is a common (and recommend

Re: solr issue..

2011-12-23 Thread Erick Erickson
What version of Solr? It might help to review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Fri, Dec 23, 2011 at 4:55 AM, karan_jindal wrote: > hi all, > > I am getting this error while clicking on the replication link on the > admin page of solr.. > > java.lang.ClassFormatError:

Re: Problems while searching in default field

2011-12-23 Thread Erick Erickson
I don't think you understand how patches work for this project. These are *source* patches, there's no process for "applying a patch to a war file". You have to check out the source, apply the patch to the source then execute an ant task to make your distro. I doubt you'll be able to apply it to

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, if in this case, then i think reindex the whole document probably will be easily right ? as compare to write to text file (look like more work and probably performance same ? ) actually i was looking for a features like indextank which can update dynamic value without scarify performance. ht

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> In my case, my vote will keep update in database, but the > ExternalFileField > since like the value will get from a file. > > so if I using  ExternalFileField, is that anyway to > read the value from > index actually ? You could read values from DB and dump them into a text file in a periodic

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, thx for reply ! In my case, my vote will keep update in database, but the ExternalFileField since like the value will get from a file. so if I using ExternalFileField, is that anyway to read the value from index actually ? regards, kiwi On Fri, Dec 23, 2011 at 10:41 PM, Ahmet Arslan wrote

Re: Solr - Mutivalue field search on different elements

2011-12-23 Thread Ahmet Arslan
> setting positionIncrementGap is worked for me and it > allowing me to search > in 2 diff. consecutive elements. > But as i explained before , i also want to display > highlighting for which > term / phrase search is made. > > So when we search with phrase and make highlighting on , it > is not

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> if i using ExternalFileField, i cannot do sorting when > query. Sort by function query is now doable. http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function

Re: Solr - Mutivalue field search on different elements

2011-12-23 Thread meghana
Hi all , setting positionIncrementGap is worked for me and it allowing me to search in 2 diff. consecutive elements. But as i explained before , i also want to display highlighting for which term / phrase search is made. So when we search with phrase and make highlighting on , it is not returni

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, if i using ExternalFileField, i cannot do sorting when query. regards, kiwi On Fri, Dec 23, 2011 at 6:33 PM, Ahmet Arslan wrote: > > I have a object like this > > > > public class Link { > > private long id; > > private string url; > > // other 20 property > > private int vote; //s

Re: Problems while searching in default field

2011-12-23 Thread Ahmet Arslan
> In case I need to apply just this > patch(https://issues.apache.org/jira/browse/SOLR-2438) alone > in my current > version, will it be possible for me to do it? Like say, > take the current > solr.war deployed in unix server alone and then apply the > patch . I am not sure whether SOLR-2438 is a

Migration from Solr 1.4 to Solr 3.5

2011-12-23 Thread Bhavnik Gajjar
Greetings, We are planning to migrate from Solr 1.4 to Solr 3.5 (or, even new Solr version than 3.5, when available) in coming days. There are few questions about this migration. • I heard, index format is changed in this migration. So, does this require me to reindex millions of data? • Are th

Re: PlainTextEntityProcessor and RegexTransformer in DataImport Handler

2011-12-23 Thread meghana
Hi.. Plz anybody have any idea? how can i achieve this? also if it is possible to convert multivalued field to non-multicalued field then it would aslo work for me. I have custom mustivalued field ArrText, which have value as shown below 12 : Hello World!! 14 : Welcome to Solr. 15

Re: Problems while searching in default field

2011-12-23 Thread mechravi25
Hi, Thanks a lot for the response. In case I need to apply just this patch(https://issues.apache.org/jira/browse/SOLR-2438) alone in my current version, will it be possible for me to do it? Like say, take the current solr.war deployed in unix server alone and then apply the patch . My version de

Configuring Replication

2011-12-23 Thread Ahson Iqbal
Hi I want to setup replication, and have 2 question regarding it 1st i am having issue in configuring replication, I have done all as mentioned http://wiki.apache.org/solr/SolrReplication at master server but whenever I tried to open the url in browser http://localhost:8983/solr/replication

solr issue..

2011-12-23 Thread karan_jindal
hi all, I am getting this error while clicking on the replication link on the admin page of solr.. java.lang.ClassFormatError: Unknown constant tag 69 in class file org/apache/jsp/admin/replication/index_jsp javax.servlet.ServletException: java.lang.ClassFormatError: Unknown constant tag 69 in cl

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> I have a object like this > > public class Link { >   private long id; >   private string url; >   // other 20 property >   private int vote; //summary of vote, for sorting > used > } > > so when I index document, my Lucene document also contain > all field from my > Link object. e.g > > doc_i

Re: Solr Distributed Search vs Hadoop

2011-12-23 Thread Nick Vincent
For data of this size you may want to look at something like Apache Cassandra, which is made specifically to handle data at this kind of scale across many machines. You can still use Hadoop to analyse and transform the data in a performant manner, however it's probably best to do some research on

PlainTextEntityProcessor and RegexTransformer in DataImport Handler

2011-12-23 Thread meghana
Hi all, I need to import data from my text file (which have HTML text). and need to apply some formatting on it. i want all text with in tag , and i want it to be preceded by one element of p tag in my output, like below. Original Text --

PlainTexttransformer and RegexTransformer in DataImport Handler

2011-12-23 Thread meghana
Hi all, I need to import data from my text file (which have HTML text). and need to apply some formatting on it. i want all text with in tag , and i want it to be preceded by one element of p tag in my output, like below. Original Text --