lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tkoomzaaskz <>
Subject two structures in solr
Date Thu, 12 Apr 2012 11:41:00 GMT
Hi all,

I'm a solr newbie, so sorry if I do anything wrong ;)

I want to use SOLR not only for fast text search, but mainly to create a
very fast search engine for a high-traffic system (MySQL would not do the
job if the db grows too big).

I need to store *two big structures* in SOLR: projects and contractors.
Contractors will search for available projects and project owners will
search for contractors who would do it for them.

So far, I have found a solr tutorial for newbies, where I found the schema file which defines the
data structure: But my case is
that *I want to have two structures*. I guess running two parallel solr
instances is not the idea. I took a look at
and I can see that the schema goes like:

<?xml version="1.0" encoding="UTF-8" ?>
<schema name="example" version="1.5">
      <field name="id" type="string" indexed="true" stored="true"
required="true" />
      <field name="sku" type="text_en_splitting_tight" indexed="true"
stored="true" omitNorms="true"/>
      <field name="name" type="text_general" indexed="true" stored="true"/>
      <field name="alphaNameSort" type="alphaOnlySort" indexed="true"

But still, this is a single structure. And I need 2.

Great thanks in advance for any help. There are not many tutorials for SOLR
in the web.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message