Re: How to optimize a search?

2013-07-17 Thread Erick Erickson
bq: Rocket Banana (Single) should be first because its the closest to Rocket
Banana.

OK, you've given us nothing to go on here. it's closest doesn't mean
anything, it's just someone waving their hands and saying because I
like it better.

I'm being deliberately obtuse here and trying to think like a
computer. Unless and until you can provide some measurable way to
define closest, you have no actionable items.

It's actually quite difficult to define better query results. Walter
mentions A/B testing which is what lots of people fall back on. But
you'll _never_ get ideal results, the best I hope for is good
enough.

Best
Erick

On Tue, Jul 16, 2013 at 5:25 PM, padcoe davidpadi...@gmail.com wrote:
 Rocket Banana (Single) should be first because its the closest to Rocket
 Banana.

 How can i get a ideal rank to return closests words in firsts position?



 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078470.html
 Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-17 Thread padcoe
How i use fuzzy? Could you give an example, please?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078708.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-17 Thread padcoe
Erick,

Awesome answer, buddy. I totally agree with you.

Right now, i'm facing this problem...just someone waving their hands and
saying because I
like it better..



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078711.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-17 Thread Alexandre Rafalovitch
Not fully following the problem, but is it similar to:
http://robotlibrarian.billdueber.com/boosting-on-exactish-anchored-phrase-matching-in-solr-sst-4/
 ?

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Wed, Jul 17, 2013 at 4:03 PM, padcoe davidpadi...@gmail.com wrote:

 Erick,

 Awesome answer, buddy. I totally agree with you.

 Right now, i'm facing this problem...just someone waving their hands and
 saying because I
 like it better..



 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078711.html
 Sent from the Solr - User mailing list archive at Nabble.com.



Re: How to optimize a search?

2013-07-17 Thread padcoe
I'm using Solr 3!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078715.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-17 Thread Alexandre Rafalovitch
So does the example! Anyway, this is just an attempt to give additional
options.

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Wed, Jul 17, 2013 at 4:14 PM, padcoe davidpadi...@gmail.com wrote:

 I'm using Solr 3!



 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078715.html
 Sent from the Solr - User mailing list archive at Nabble.com.



Re: How to optimize a search?

2013-07-16 Thread padcoe
I've sold it removing filter class=solr.DoubleMetaphoneFilterFactory
inject=true/. 

But now, i have a problem. If i search for Rocket Bananaa ( with double
'a' ) the result don't appear in first.

Any ideas how to fix it?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078468.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-16 Thread padcoe
Rocket Banana (Single) should be first because its the closest to Rocket
Banana.

How can i get a ideal rank to return closests words in firsts position?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531p4078470.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-16 Thread Walter Underwood
Use fuzzy search instead of phonetic search. Phonetic search is a poor match to 
most queries.

At Netflix, we dropped phonetic search and started using fuzzy. There was a 
clear improvement in the A/B test.

wunder

On Jul 16, 2013, at 2:25 PM, padcoe wrote:

 Rocket Banana (Single) should be first because its the closest to Rocket
 Banana.
 
 How can i get a ideal rank to return closests words in firsts position?
 
 






How to optimize a search?

2013-07-12 Thread padcoe
Hello folks,

I'm doing a search for a specific word (Rocket Banana) in a specific field
and the document with the result Rocket Banana (Single) never comes
first..and this is the result that should appear in first position...i've
tried to many ways to perform this search:

title:Rocket Banana
title:(Rocket AND Banana)
title:(Rocket OR Banana)
title:(Rocket^0.175 AND Banana^0.175)
title:(Rocket^0.175 ORBanana^0.175)

The order returned is basically like:

docfloat name=score12.106901/floatstr name=titleRocket
Rocket/str/doc
docfloat name=score12.007204/floatstr
name=titleRocket/str/doc
docfloat name=score12.007203/floatstr name=titleBanana Banana
Banana/str/doc
a lot of results
docfloat name=score10.398543/floatstr name=titleRocket Banana
(Single)/str/doc


How can i optimize my search and return the document that have the full
word that i've searched with a higher scores then others?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to optimize a search?

2013-07-12 Thread Erick Erickson
_Why_ should Rocket Banana (Single) come first?
Essentially you have some ordering in mind and
unless you can express it clearly you'll _never_ get
ideal ranking. Really.

But your particular issue can probably be solved by adding
a clause like OR rocket banana^5

And I suspect you haven't given us the entire query, or
you're running through edismax or whatever. In future,
please paste the result of adding debug=all to the
e-mail.

Best
Erick

On Fri, Jul 12, 2013 at 7:32 AM, padcoe davidpadi...@gmail.com wrote:
 Hello folks,

 I'm doing a search for a specific word (Rocket Banana) in a specific field
 and the document with the result Rocket Banana (Single) never comes
 first..and this is the result that should appear in first position...i've
 tried to many ways to perform this search:

 title:Rocket Banana
 title:(Rocket AND Banana)
 title:(Rocket OR Banana)
 title:(Rocket^0.175 AND Banana^0.175)
 title:(Rocket^0.175 ORBanana^0.175)

 The order returned is basically like:

 docfloat name=score12.106901/floatstr name=titleRocket
 Rocket/str/doc
 docfloat name=score12.007204/floatstr
 name=titleRocket/str/doc
 docfloat name=score12.007203/floatstr name=titleBanana Banana
 Banana/str/doc
 a lot of results
 docfloat name=score10.398543/floatstr name=titleRocket Banana
 (Single)/str/doc


 How can i optimize my search and return the document that have the full
 word that i've searched with a higher scores then others?





 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/How-to-optimize-a-search-tp4077531.html
 Sent from the Solr - User mailing list archive at Nabble.com.