join « query « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » query » join 

1. solr JOIN query    stackoverflow.com

I need to run a JOIN query on a solr index. I've got two xmls that I have indexed, person.xml and subject.xml. Person:

<doc>
<field name="id">P39126</field>
<field name="family">Smith</field>
<field name="given">John</field>
<field name="subject">S1276</field>
<field name="subject">S1312</field>
</doc>
Subject:
<doc>
<field name="id">S1276</field>
<field name="topic">Abnormalities, Human</field>
</doc>
I need ...

2. Lucene Queries -- joining documents and maintaining relevancy    stackoverflow.com

I am trying to create a Lucene search using school name and player name to return videos. I am trying to decide between two methods. Method A is to ...

3. Lucene query parsing behaviour - joining query parts with AND    stackoverflow.com

Let's say we have a Lucene index having few documents indexed using StopAnalyzer.ENGLISH_STOP_WORDS_SET. A user is issuing two queries:

  • foo:bar
  • baz:"there is"
Let's assume that the first query yields some results because there are ...

4. Implicit join in lucene    stackoverflow.com

Is it possible to do something like the following in lucene? If not, can you give any suggestions for how to get around this limitation?

SELECT
start.dt AS eventstarttime,
last.dt AS eventfinishtime
WHERE
start.evt:"Started" AND ...

5. SolrJ Query, Join Query    stackoverflow.com

I am currently working on solr, in which to create a join, i need to write

http://localhost:8983/solr/select?q=category_name:cat1%20_query_:"{!dismax%20qf=category_name%20v=cat2}"
where cat1 and cat2 are the categories, in which i want my product to be, i.e ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.