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 for
that ? my configuration is :

<fieldType name="string_ch" class="solr.StrField">
        <analyzer class="
org.apache.lucene.analysis.standard.StandardAnalyzer"/>
</fieldType>

LM

On 12/7/07, SDIS M. Beauchamp <[EMAIL PROTECTED]> wrote:
>
> 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 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 any
> configuration in config file for future.
>
> LM
>
> On 12/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> >
> > You should be able to search any field:
> > ?q=field1:XXX field2:YYY
> >
> > You can register fieldTypes directory to an analyzer using:
> >      <fieldType name="text_ws" class="solr.TextField"
> > positionIncrementGap="100">
> >        <analyzer
> > class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
> >      </fieldType>
> >
> > ryan
> >
> >
> > Laxmilal Menaria wrote:
> > > 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 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, just dump
> > >> them in the data/index directory
> > >>
> > >> ryan
> > >>
> > >>
> > >> Laxmilal Menaria wrote:
> > >>> 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,
> > >>>>>
> > >>>>> 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.
> > >>>>>
> > >>>> Why you want to use solr for  indexing databases??? !!!
> > >>>> rtfm!
> > >>>>
> > >>>> --
> > >>>> Venkat
> > >>>> Blog @ http://blizzardzblogs.blogspot.com
> > >>>>
> > >>>
> > >>>
> > >>
> > >
> > >
> >
> >
>
>
> --
> Thanks,
> Laxmilal menaria
>
> http://www.chambal.com/
> http://www.minalyzer.com/
> http://www.bucketexplorer.com/
>
>


-- 
Thanks,
Laxmilal menaria

http://www.chambal.com/
http://www.minalyzer.com/
http://www.bucketexplorer.com/

Reply via email to