[Blacklight-development] solr schema; facetting vs searching
Jonathan Rochkind
rochkind at jhu.edu
Mon Feb 18 10:36:40 EST 2008
Hmm, I guess I'm confused as to how to figure out which SOLR/lucene
fields are suitable for which use. I'll look around with it more in the
ways you say, get Luke going and such.
Jonathan.
Erik Hatcher wrote:
>
> On Feb 15, 2008, at 3:00 PM, Jonathan Rochkind wrote:
>> Perfect, thanks. Before I was asking if you could do a fielded search in
>> the current blacklight. You said, yes, using lucene syntax, if you knew
>> the name of the field you wanted to search. But it sounds like most of
>> the fields you might want to search actually aren't stored in the index
>> in a suitable way at present.
>
> I wouldn't say that. There are a lot of *_text fields that are
> surely useful for searching. And take a look at the schema.xml - all
> fields are being stored currently so they are
> retrievable/highlightable from the front-end easily.
>
> Have a look at the Lucene index using Luke
> <http://www.getopt.org/luke/> or Solr's Luke Request Handler - check
> out the fields indexed and play around. There is more there than
> meets the eye. Certainly there is much more to MARC than the indexer
> is extracting currently, though - so lots more can be done.
>
>> If Blacklight doesn't do sortable fields yet.... how does Blacklight
>> sort search results?
>
> Depends - if you're purely navigating by facets, the order is in index
> order (the order the records were indexed).
>
> However, once you add a full-text query, sorting is by....
> relevance! Imagine that :)
>
> Erik
--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu
More information about the Blacklight-development
mailing list