Excellent thank you, it is now working! On Mon, Mar 5, 2012 at 9:37 PM, Koji Sekiguchi <k...@r.email.ne.jp> wrote:
> (12/03/06 11:23), Donald Organ wrote: > >> Ok so do I need to use a different format in my synonyms.txt file in order >> to do this at index time? >> >> > Right, if you want to apply synonym rules to only index time. > Use "," like this: > > floor locker, storage locker > > And don't forget to set expand="true" in your index time synonym > definition. > This makes if you have "floor locker" in your document, it will be > expanded not only > "floor locker" but also "storage locker" in index, then you can search > the document by any of q=floor locker or storage locker. > > koji > -- > Query Log Visualizer for Apache Solr > http://soleami.com/ >