Re: Configuring Replication

2011-12-27 Thread Ahson Iqbal
Hi Ahmet Thank you for your response both of the following urls http://localhost:8983 http://localhost:8983/solr are working and also it is not a multi core setup. Regards Ahsan From: Ahmet Arslan iori...@yahoo.com To: solr-user@lucene.apache.org; Ahson

Re: Configuring Replication

2011-12-27 Thread Ahson Iqbal
Hi Ahmet Same issue, one more thing i am using solr 1.4.1 with tomcat 7.0 Regards Ahsan From: Ahmet Arslan iori...@yahoo.com To: solr-user@lucene.apache.org; Ahson Iqbal mianah...@yahoo.com Sent: Tuesday, December 27, 2011 2:51 PM Subject: Re: Configuring

Re: Configuring Replication

2011-12-26 Thread Ahson Iqbal
any docs on the master? Details matter. But to your second point, yes this is a common (and recommended) configuration. Index on the master and search on the slaves. Best Erick On Fri, Dec 23, 2011 at 6:56 AM, Ahson Iqbal mianah...@yahoo.com wrote: Hi I want to setup replication, and have 2

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

Multivalued Boolean Search

2011-11-18 Thread Ahson Iqbal
Hi I have a multivalued field say MulField in my index that have values in a document like str name=DocID1/str arr name=MulField     strAuto Mobiles/str     strToyota Corolla/str /arr No let say I specified a search criteria as +MulField:Mobiles +MulField:Toyota now my question is it is

Re: Lucene 3.4.0 Merging

2011-10-02 Thread Ahson Iqbal
/lucene/misc/IndexMergeTool ./newindex ./app1/solr/data/index ./app2/solr/data/index Steve -Original Message- From: Ahson Iqbal [mailto:mianah...@yahoo.com] Sent: Saturday, October 01, 2011 12:51 PM To: solr-user@lucene.apache.org Subject: Re: Lucene 3.4.0 Merging Hi Steve

Re: Lucene 3.4.0 Merging

2011-10-02 Thread Ahson Iqbal
-misc-3.4.0.jar org/apache/lucene/misc/IndexMergeTool ./newindex ./app1/solr/data/index ./app2/solr/data/index If that doesn't work, tell us about your environment: operating system, java version and vendor. Steve -Original Message- From: Ahson Iqbal [mailto:mianah...@yahoo.com] Sent

Re: Lucene 3.4.0 Merging

2011-10-01 Thread Ahson Iqbal
-Original Message- From: Ahson Iqbal [mailto:mianah...@yahoo.com] Sent: Friday, September 30, 2011 2:45 AM To: Solr Send Mail Subject: Lucene 3.4.0 Merging Hi I have 3 solr3.4.0 indexes i want to merge them, after searching on web i found that there are two ways to do it as 1

Lucene 3.4.0 Merging

2011-09-30 Thread Ahson Iqbal
Hi I have 3 solr3.4.0 indexes i want to merge them, after searching on web i found that there are two ways to do it as 1. Using Lucene Merge tool. 2. Merging through core admin i am using the 1st method for this i have downloaded lucene 3.4.0 and unpack it and then run following command on

Solr 3.4 Problem with integrating Query Parser Plug In

2011-09-23 Thread Ahson Iqbal
Hi I have indexed some 1M documents, just for performance testing. I have written a query parser plug, when i add it in solr lib folder under tomcat wepapps folder. and try to load solr admin page it keeps on loading and when I delete jar file of query parser plugin from lib it works fine. but

How To perform SQL Like Join

2011-09-19 Thread Ahson Iqbal
Hi As we do join two or more tables in sql, can we join 2 or more indexes in solr as well. if yes than in which version. Regards Ahsan

Re: question about Field Collapsing/ grouping

2011-09-14 Thread Ahson Iqbal
: Jayendra Patil jayendra.patil@gmail.com To: solr-user@lucene.apache.org; Ahson Iqbal mianah...@yahoo.com Cc: Sent: Tuesday, September 13, 2011 10:55 AM Subject: Re: question about Field Collapsing/ grouping The time we implemented the feature, there was no straight forward solution. What we did

question about Field Collapsing/ grouping

2011-09-12 Thread Ahson Iqbal
Hi Is it possible to get number of groups that matched with specified query. like let say there are three fields in index DocumentID Content Industry and now i want to query as +(Content:is Content:the) group=truegroup.field=industry now is it possible to get how many industries matched

Question About Writing Custom Query Parser Plugin

2011-01-27 Thread Ahson Iqbal
Hi All I want to integrate lucene Surround Query Parser with solr 1.4.1, and for that I am writing Custom Query Parser Plugin, To accomplish this task I should write a sub class of org.apache.solr.search.QParserPlugin and implement its two methods public void init(NamedList nl) public

Integrating Surround Query Parser

2011-01-20 Thread Ahson Iqbal
Hi All I want to integrate Surround Query Parser with solr, To do this i have downloaded jar file from the internet and and then pasting that jar file in web-inf/lib and configured query parser in solrconfig.xml as queryParser name=SurroundQParser

Re: Not storing, but highlighting from document sentences

2011-01-18 Thread Ahson Iqbal
Hi A simple solution to this could be, for all such searches (foo and bar), search them as it is from 1st(primary index) and while sending these queries to secondary index replace and with or. But in this particular scenario u could also have problem with proximity and phrase queries that

Question related to phrase search in lucene/solr?

2010-10-13 Thread Ahson Iqbal
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

How to get Term Frequency

2010-10-11 Thread Ahson Iqbal
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.

Trouble with exception Document [Null] missing required field DocID

2010-10-06 Thread Ahson Iqbal
Hi All I m new to solr extract request handler, i want to index pdf documents but when i submit document to solr using curl i got following exception Document [Null] missing required field DocID my curl command is like curl

Configuriguration of ExtractRequestHandler

2010-10-05 Thread Ahson Iqbal
Hi All I want to index a large number of pdf documents i have found a reference by searching on Google that it could be done by apache tika project, but unfortunately i didn't find any refernce stating how to configure apache tika with solr. Can any body state how I could do this i have

Question Related to sorting on Date

2010-09-27 Thread Ahson Iqbal
hi all I have a question related to sorting of date field i have Date field that is indexed like a string and look like 5/2/2008 4:33:30 PM i want to do sorting on this field on the basis of date, time does not matters. any suggestion how i could ignore the time part from this field and

Solr Highlighting Issue

2010-09-17 Thread Ahson Iqbal
Hi All I have an issue in highlighting that if i query solr on more than one fields like +Contents:risk +Form:1 and even i specify the highlighting field is Contents it still highlights risk as well as 1, because it is specified in the query.. now if i split the query as +Contents:risk is

Re: Solr Highlighting Issue

2010-09-17 Thread Ahson Iqbal
Hi Koji thank you very much it really works From: Koji Sekiguchi k...@r.email.ne.jp To: solr-user@lucene.apache.org Sent: Fri, September 17, 2010 7:11:31 PM Subject: Re: Solr Highlighting Issue (10/09/17 16:36), Ahson Iqbal wrote: Hi All I have an issue