lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kirk ...@alpha-solutions.dk>
Subject terms component search
Date Thu, 06 Sep 2012 07:48:01 GMT
Hi

I am trying to implement some "auto suggest" functionality, and am currently looking at the
terms component (Solr 3.6).

For example, I can form a query like this:

http://solrhost/solr/mycore/terms?terms.fl=title_s&terms.sort=index&terms.limit=5&terms.prefix=Hotel+C

which searches in the "title_s" field for strings starting "Hotel C". Results could be
Hotel Chicago, 2
Hotel California, 8
Hotel Cool, 4

Is it possible to get more info in the results from this component - like return data from
other fields?

For example, along with the results from the "title_s" field, the corresponding data from
the "telephone" field.

Or, maybe I simply should execute a normal wildcard search.

Thanks,
Peter


Mime
View raw message