Enterprise Search support for Apache Lucene and Solr by Lucid Imagination

Secondary links

  • Contact Us
  • Log in
  • Downloads
  • Solutions
    • Software |
    • Services |
    • Training |
    • White Papers & Case Studies |
    • Webinars & Events |
  • Developers
    • Blog |
    • Tech Articles |
    • Community |
    • Documentation |
    • Downloads |
    • Webcasts & Podcasts |
  • About
    • Market Overview |
    • Management |
    • Company News |
    • In the Media |
    • Contact |

beta

Start new search

Back to search results

  1. FromDate
  2. stefan.maric@bt.com2010-02-08 12:39
  3. Sven Maurmann2010-02-08 17:15
  4. stefan.maric@bt.com2010-02-09 03:41
  5. Lance Norskog2010-02-09 22:27
  6. Stefan Maric2010-02-10 16:10
  7. Chris Hostetter2010-02-10 19:40
  8. Lance Norskog2010-02-12 00:01

[solr-user] Indexing / querying multiple data types

Subject:
Re: Indexing / querying multiple data types
From:
Sven Maurmann <sven.maurmann@...>
Date:
2010-02-08 17:15
Hi,

could you be a little more precise about your configuration?
It may be much easier to answer your question then.

Cheers,
     Sven

--On Montag, 8. Februar 2010 17:39 +0000 stefan.maric@bt.com wrote:

OK - so I've now got my data-config.xml sorted so that I'm pulling in the expected number of indexed documents for my two data sets So I've defined two entities (name1 & name2) and they both make use of the same fields -- I'm not sure if this is a good thing to have done When I run a query I include qt=name1 (or qt=name2) and am expecting to only get the number of results from the appropriate data set -- in fact I'm getting the sum total from both Does the entity name=name1 equate to the query qt=name1 In my solrconfig.xml I have defined two requestHandlers (name1 & name2) using the common set of fields So how do ensure that my query http://localhost:7001/solr/select/?q=food&qt=name1 or http://localhost:7001/solr/select/?q=food&qt=name2 Will operate on the correct data set as loaded via the data import -- <entity name=name1> or <entity name=name2> Thankss Stefan Maric BT Innovate & Design | Collaboration Platform - Customer Innovation Solutions

Solr Powered

Give us your feedback

  • Lucene
  • Solr
  • Nutch
  • Tika
  • Mahout
  • Droids
  • PyLucene
  • Lucene.Net
  • Lucy
  • Lucene4c
  • Open Relevance Project
  • How We Can Help:
    • Getting Started |
    • Support Subscriptions |
    • White Papers |
    • Training |
    • Consulting |
    • Contact Us |
  • Developers:
    • Blog |
    • Documentation |
    • Tech Articles |
    • Podcasts and Videos |
    • Community |
  • Downloads:
    • LucidWorks for Solr |
    • LucidWorks for Lucene |
    • LucidGaze for Solr |
    • LucidGaze for Lucene |
  • Products:
  • Services:

Contact | Privacy Policy | Legal Terms of Use | Copyrights and Disclaimers | Admin

Apache Solr, Apache Lucene, ApacheCon and their logos are trademarks of the Apache Software Foundation.

© 2010 Lucid Imagination. All Right reserved.