lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balaji.A" <reachbalaj...@gmail.com>
Subject Re: Get only partial match results
Date Sat, 17 Jul 2010 13:00:09 GMT

Thanks Jonathan. I appreciate your reply.

Though I got few ideas for implementing my requirement, I got stuck up with
few issues. It would be more helpful if you guide me in resolving those.

As you suggested I configured single core with different fields.

For example the core contains the following fields:

core1_title_exact (type : text_ws)
core1_title_partial (type : text)
core1_content_exact (type : text_ws)
core1_content_partial (type : text)
core2_title_exact (type : text_ws)
core2_title_partial (type: text)
core2_content_exact (type : text_ws)
core2_content_partial (type: text)


Problems
*******
1) While doing a dismax query, I specify the query in double quotes for
exact match. This works fine but I don't get any partial matches in search
result.

My query:
q="Ryder Cup"&qf=core1_title_exact^8000 core1_content_exact^7000
core2_title_exact^6000 core2_content_exact^5000 core1_title_partial^4000
core1_content_partial^3000 core2_title_partial^2000
core2_content_partial^1000

2) If the frequency of search term is more in "core2_content_exact" field,
eventhough the search term is present atleast once in the field
"core1_content_exact" I get "core2_content_exact" as my first search result
item. 

For example assume my search term is "Ryder Cup". And if the occurance of
Ryder Cup in core1_content_exact field is 1 and occurance of the same text
in core2_content_exact is about 15, search query is returning me
core2_content_exact as first result.

Is it something to do with term Frequency? How do I fix this problem? Even
if core1_content_exact field should be my topmost priority with the match of
atlest one search term.


Thanks,
Balaji
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Get-only-partial-match-results-tp963212p974850.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message