Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: General

Lucene Document Uniqueness question

 

 

Lucene general RSS feed   Index | Next | Previous | View Threaded


chambeda at gmail

May 29, 2012, 5:58 PM

Post #1 of 2 (144 views)
Permalink
Lucene Document Uniqueness question

Hi everyone, I am not sure the best way to title this question, but hopefully
the description of my issue will yield some answers.

Basically lets say that I have some XML documents that I want to
index(below). Some of the fields will be the same like name, but others
like price and dealer will be different. What are the options for indexing
this data given that I want to return the search results for a specific
dealerId and query?

<document>
<name>Nissan Pathfinder</name>
<price>36,000</price>
<year>2012</year>
<dealer>foo bar</dealer>
<dealerId>1</dealerId>
</document>

<document>
<name>Nissan Pathfinder</name>
<price>33,500</price>
<year>2012</year>
<dealer>local Nissan Dealer</dealer>
<dealerId>1</dealerId>
</document>

--
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-Document-Uniqueness-question-tp3986743.html
Sent from the Lucene - General mailing list archive at Nabble.com.


chambeda at gmail

May 30, 2012, 6:44 AM

Post #2 of 2 (139 views)
Permalink
Re: Lucene Document Uniqueness question [In reply to]

I know that I can store each document individually, but is there away to
combine the two documents using the same fields and only return data for a
specific dealerId?


--
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-Document-Uniqueness-question-tp3986743p3986836.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Lucene general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.