Query returning duplicated values

2019-06-28 Thread Eduardo Costa Lopes
Hi, I've indexed a database records with the following layout: Company Partner C1 P1 C1 P2 C2 P1 The system should support searching by partner and return the partner companies and, in the similar way, a query for a company name should return the companies matching the search, but with

Re: how to find out each score contribution from booleanquery components

2019-06-28 Thread baris . kazar
One thing i noticed is that the score is the same for the first 1800 results, that is not expected, right? Best regards On 6/27/19 3:07 PM, baris.ka...@oracle.com wrote: the index has "united states" and still investigating why MAINS does not return MAIN but MAINK etc. does return MAIN firs

Boost values for multi field Lucene index

2019-06-28 Thread baris . kazar
Hi,-  how should i decide the values for a 4 field index lets say and i want to prioritize the last field highest and first field lowest? what values should i use? Best regards - To unsubscribe, e-mail: java-user-unsubscr..

What is edit distance 2 mean for fuzzy queries?

2019-06-28 Thread baris . kazar
Hi,- search Query: [+streetDFLT:ridg~2, +cityDFLT:"nashua", +regionDFLT:"new-hampshire", +countryDFLT:"united" +countryDFLT:"states"] Name: Ridge Rd Score: 35.297863 ID: 10242301 Country Code: US Coordinates: 42.70569, -71.49599 Search Key: street="RIDGE" city="NASHUA" municipality="HILLSBOROU

Re: What is edit distance 2 mean for fuzzy queries?

2019-06-28 Thread baris . kazar
i think i have an answer for this one: for words shorter or equal to length 5 the edit distance 1 works only but as the word gets longer i see edit distance 2 works ok. Best regards On 6/28/19 2:25 PM, baris.ka...@oracle.com wrote: Hi,- search Query: [+streetDFLT:ridg~2, +cityDFLT:"nashua