Multi field queries

2008-02-15 Thread Roopesh P Raj
Dear All, Documents in my solr index has three fields, name, content and summary. Suppose the user query be, "java sky democratic". I want the resulting documents to have all the terms in the query ( "java sky democratic") in either name, content or the summary (for example i.e., java and sky

Wild card searching not working properly

2008-02-13 Thread Roopesh P Raj
Dear All, I am using solr in my project. But I find that wildcard searching is not working properly. For example, following are the search queries and the corresponding results tomcat* -> 3 results tomca* -> 0 results tom*at -> 0 results tom~at -> 0 results Where as all the queries should have

Re: How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Thanks a lot for your replies. I will follow the paginated search. Thanks and Regards Roopesh -- DigitalGlue, India

Re: How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Hi Roopesh, I am not sure whether I understand your problem. Is it the limitation of rows/pagination? If so why not using a real high number (like rows=100)? salu2 Hi, Assigning a high number will solve my problem. (I thought that there will something like rows='all' to do it)

How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Hi, I am using solr setup in Tomcat 5.5 with python 2.4 using python client solr.py. When I search, all the results are not returned. The method call for searching is as follows : rows specifies the number of rows. data = c.search(q='query', fl='id score unique_id Message-ID To From Subject

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread Roopesh P Raj
This should work : c.deleteByQyery('id:[* TO *]') c.commit() Regards Roopesh vanderkerkoff wrote: Hello everyone Loving solr, got an idiot question for you. I have been manually deleting our index in the python interpretor when testing from solr import SolrConnection c = SolrConnection(host=

Re: Copying part of index directory

2007-06-17 Thread Roopesh P Raj
Mike Klaas wrote: On 15-Jun-07, at 4:25 AM, Roopesh P Raj wrote: Hi, I am new to solr, lucene. In my project I want to copy index directory based on some query (copy may not copy the whole index directory). I came across a backup script in solr/bin folder but it seems to be copying the

Copying part of index directory

2007-06-15 Thread Roopesh P Raj
Hi, I am new to solr, lucene. In my project I want to copy index directory based on some query (copy may not copy the whole index directory). I came across a backup script in solr/bin folder but it seems to be copying the whole index directory. My query is, what is the procedure for copying