Re: How do I search in all fields without index by solr

2007-12-10 Thread Laxmilal Menaria
Thanks, I have tried DisMaxRequestHandlerand now its working for all fields.. Again thanks for quick response... LM!!! On 12/7/07, Laxmilal Menaria <[EMAIL PROTECTED]> wrote:

Re: How do I search in all fields without index by solr

2007-12-07 Thread Laxmilal Menaria
Ok..thanks. will try On 12/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > Laxmilal Menaria wrote: > > I have tried that : > > > > ?q=laxmilal&qt=dismax&fl=FriendID,Title,Address,PhoneNo,Comments > > ?q=video&qt=dismax&qf=FriendID,Title,Address,PhoneNo,Comments > > > > fl is for returning field

Re: How do I search in all fields without index by solr

2007-12-07 Thread Ryan McKinley
Laxmilal Menaria wrote: I have tried that : ?q=laxmilal&qt=dismax&fl=FriendID,Title,Address,PhoneNo,Comments ?q=video&qt=dismax&qf=FriendID,Title,Address,PhoneNo,Comments fl is for returning fields, you need 'qf' http://wiki.apache.org/solr/DisMaxRequestHandler?highlight=%28DisMax%29#head-af

RE: How do I search in all fields without index by solr

2007-12-07 Thread SDIS M. Beauchamp
Objet : Re: How do I search in all fields without index by solr I have tried that : ?q=laxmilal&qt=dismax&fl=FriendID,Title,Address,PhoneNo,Comments ?q=video&qt=dismax&qf=FriendID,Title,Address,PhoneNo,Comments But both are not return search results, is any configuration in config fo

Re: How do I search in all fields without index by solr

2007-12-07 Thread Laxmilal Menaria
r-user@lucene.apache.org > Objet : Re: How do I search in all fields without index by solr > > Ok, thanks.. have tried it, It working. > > But if I use it and may be XXX or YYY value is too long, I think many > server dont support long urls so it may give us problem. So is there an

RE: How do I search in all fields without index by solr

2007-12-06 Thread SDIS M. Beauchamp
You can also use the dismaxrequesthandler to search across multiple field -Message d'origine- De : Laxmilal Menaria [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 décembre 2007 08:25 À : solr-user@lucene.apache.org Objet : Re: How do I search in all fields without index by sol

Re: How do I search in all fields without index by solr

2007-12-06 Thread Laxmilal Menaria
Ok, thanks.. have tried it, It working. But if I use it and may be XXX or YYY value is too long, I think many server dont support long urls so it may give us problem. So is there any configuration in config file for future. LM On 12/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > You should b

Re: How do I search in all fields without index by solr

2007-12-06 Thread Ryan McKinley
You should be able to search any field: ?q=field1:XXX field2:YYY You can register fieldTypes directory to an analyzer using: positionIncrementGap="100"> class="org.apache.lucene.analysis.standard.StandardAnalyzer"/> ryan Laxmilal Menaria wrote: thanks for fast reply, I have du

Re: How do I search in all fields without index by solr

2007-12-06 Thread Laxmilal Menaria
thanks for fast reply, I have dump my index in solr data folder and able to search in single field only, but want to search in all fields. also how can I configure StandradAnalyzer in solr config xml. LM On 12/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > solr should be able to read any luce

Re: How do I search in all fields without index by solr

2007-12-06 Thread Ryan McKinley
solr should be able to read any lucene index -- even if it did not create it. The hitch is that you need to make sure the analyzers and fieldTypes match what is in your index otherwise it is unlikely for the result to be what you expect. To get solr to use your manually created index files, j

Re: How do I search in all fields without index by solr

2007-12-06 Thread Laxmilal Menaria
I don't want to use solr for indexing database, I want to use solr for searching on existing index created by me with using my sample application. LM On 12/7/07, Venkatraman S <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 10:17 AM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > > > Hello everyone,

Re: How do I search in all fields without index by solr

2007-12-06 Thread Venkatraman S
On Dec 7, 2007 10:17 AM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I have created a simple java application which indexes database tables, > now > I want to configure the solr on my created index. My index has 5 fields, > FriendID, Title, Address, PhoneNo and Comments. > W

How do I search in all fields without index by solr

2007-12-06 Thread Laxmilal Menaria
Hello everyone, I have created a simple java application which indexes database tables, now I want to configure the solr on my created index. My index has 5 fields, FriendID, Title, Address, PhoneNo and Comments. I have updated solr config.xml according to my fields with the followings: FriendID