You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shambhu Kumar <ss...@gmail.com> on 2012/01/25 13:08:29 UTC
Need help
I want to create One search.
The implementation is like this
I have 4 table in database (Suppose profiles, clients, requirement and case)
and having 4 entity in java code.
Now I created one jsp which is having one drop down (Which contains all 4
options that's are entity name) one search box and one button.
How to I need to configure for this. So that I can search from any table by
changing drop down.
Regards
Shambhu
Re: Need help
Posted by gabriel shen <xs...@gmail.com>.
Treat one solr schema as a database table, one solr core contains only one
schema.
So in your case you should define 4 solr cores, each contains a schema
matching the database table you have.
/shen
On Wed, Jan 25, 2012 at 1:08 PM, Shambhu Kumar <ss...@gmail.com> wrote:
> I want to create One search.
>
> The implementation is like this
>
> I have 4 table in database (Suppose profiles, clients, requirement and
> case)
> and having 4 entity in java code.
>
> Now I created one jsp which is having one drop down (Which contains all 4
> options that's are entity name) one search box and one button.
>
>
>
> How to I need to configure for this. So that I can search from any table by
> changing drop down.
>
>
>
>
>
> Regards
>
> Shambhu
>
>