Re: catchall fields or multiple fields

2015-10-14 Thread elisabeth benoit
Thanks for your suggestion Jack. In fact we're doing geographic search (fields are country, state, county, town, hamlet, district) So it's difficult to split. Best regards, Elisabeth 2015-10-13 16:01 GMT+02:00 Jack Krupansky : > Performing a sequence of queries can help too. For example, if

Re: catchall fields or multiple fields

2015-10-13 Thread Jack Krupansky
Performing a sequence of queries can help too. For example, if users commonly search for a product name, you could do an initial query on just the product name field which should be much faster than searching the text of all product descriptions, and highlighting would be less problematic. If that

Re: catchall fields or multiple fields

2015-10-13 Thread elisabeth benoit
Thanks to you all for those informed advices. Thanks Trey for your very detailed point of view. This is now very clear to me how a search on multiple fields can grow slower than a search on a catchall field. Our actual search model is problematic: we search on a catchall field, but need to know w

Re: catchall fields or multiple fields

2015-10-12 Thread Jack Krupansky
I think it may all depend on the nature of your application and how much commonality there is between fields. One interesting area is auto-suggest, where you can certainly suggest from the union of all fields, you may want to give priority to suggestions from preferred fields. For example, for act

Re: catchall fields or multiple fields

2015-10-12 Thread Trey Grainger
Elisabeth, Yes, it will almost always be more efficient to search within a catch-all field than to search across multiple fields. Think of it this way: when you search on a single field, you are doing a single keyword search against the index per term. When you search across multiple fields, you a

Re: catchall fields or multiple fields

2015-10-12 Thread Walter Underwood
Why get rid of idf? Most often, idf is a big help in relevance. I’ve used different weights for different parts of the document, like weighting the title 8X the body. I’ve used different weights for different analysis chains. If we have three fields, one lowercased, one stemmed, and one a phone

Re: catchall fields or multiple fields

2015-10-12 Thread Ahmet Arslan
Hi, Catch-all field: No need to worry about how to aggregate scores coming from different fields. But you cannot utilize different analysers for different fields. Multiple-fields: You can play with edismax's parameters on-the-fly, without having to re-index. It is flexible that you can include/

catchall fields or multiple fields

2015-10-12 Thread elisabeth benoit
Hello, We're using solr 4.10 and storing all data in a catchall field. It seems to me that one good reason for using a catchall field is when using scoring with idf (with idf, a word might not have same score in all fields). We got rid of idf and are now considering using multiple fields. I rememb