Yes, you can do that. Please see the wiki for specifics and good examples: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
> a better example might be this: > > When someone searches on "programming" i want it to return results with > java OR python OR php but I don't want a search for "java" to return > documents with php > > > programming,java,php,python