Re: query parsing ( expansion ) in solr

2009-12-23 Thread gudumba l
Hi, I have explored DisMaxRequestHandler. It could serve for some of my purposes but not all. 1) It seems we have to decide that alternative field list beforehand and declare them in the config.xml . But the field list for which synonyms are to be considered is not definite ( at least in the

Re: query parsing ( expansion ) in solr

2009-12-23 Thread AHMET ARSLAN
Hi,      I have explored DisMaxRequestHandler. It could serve for some of my purposes but not all. 1) It seems we have to decide that alternative field list beforehand and declare them in the config.xml . But the field list for which synonyms are to be considered is not definite ( at

Re: query parsing ( expansion ) in solr

2009-12-23 Thread gudumba l
Hello, Thanks. This would absolutely serve. I thought of doing it in queryparser part which I mentioned in first mail. But if the query is a complex one, then it would become a bit complicated. Thats why I wanted to know whether there is any other way which is similar to the second point

query parsing ( expansion ) in solr

2009-12-22 Thread gudumba l
Hello All, I have been trying to find out the right place to parse the query submitted. To be brief, I need to expand the query. For example.. let the query be city:paris then I would like to expand the query as .. follows city:paris OR place:paris OR town:paris . I

Re: query parsing ( expansion ) in solr

2009-12-22 Thread AHMET ARSLAN
Hello All,             I have been trying to find out the right place to parse the query submitted. To be brief, I need to expand the query. For example.. let the query be        city:paris then I would like to expand the query as .. follows     city:paris OR place:paris OR town:paris .