Many indexes Posgresql
===

I have a search form that has a lot of search options. How would I index all these columns? Is it ok to create an index with many columns?

Rails example:

    add_index :cars, [:brand, :fuel, :year_from, :year_to, :price_from, :price_to] and so on...

Is is "ok" to include a whole lot of columns in a single index?

P.S I'm using newest Postgresql D.S