I have been thinking about this some more.

So my scenario of search is as follows.

A visitor types in

3 bed 2 bath condo new york

Now my schema has bed, bath, property type, city. The data going in is
denormalised csv files, so column headings are the fields.

The search consists of a near exact match for this type of data to be a
field search eg bed:3 or property type:condo.

I have been experimenting on solrs auto complete functionality.

And I think if I can somehow create a field (Auto_complete) that is
basically a concatenation. I will use a rough excel formula to explain.

Column A,B,C,D = Bed, Bath, Type, City

A1=3, B1=2, C1=condo, D1=New York.

In E1 I would write =concatenate(A1," ","bed"," ",B1," ","bath"," ",C1,"
",D1) 
the value being "3 bed 2 bath condo new york"

Now if I can generate this in the solr index somehow (I know I can do it in
my csv files beforehand but solr might be easier) and my Autocomplete
function hooks into this field (Auto_complete) if a user types in a more
natural search term, it should pick this up and I dont have to try and pre
process that search term beforehand.

Thoughts?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4009304.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to