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 OR"Banana"^0.175)

The order returned is basically like:

12.106901Rocket
Rocket
12.007204Rocket
12.007203Banana Banana
Banana
a lot of results
10.398543Rocket Banana
(Single)


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-16 Thread padcoe
I've sold it removing "". 

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-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 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.


Can i execute multiple queries to populate my fields?

2013-07-24 Thread padcoe
Hello folks,

I have a query that is very very slow because too many sub queries and i
want to know if have another way to populate some fields after execute
query.

Example: first i execute my 'main' query and when it completes, i get every
'id' fields from my document and execute a secondary query to populate
another fields. Can i do it?

Thanks in advance.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-i-execute-multiple-queries-to-populate-my-fields-tp4080072.html
Sent from the Solr - User mailing list archive at Nabble.com.