lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Very basic questions: Indexing text
Date Mon, 28 Jun 2010 21:00:31 GMT
> 1) I can get my docs in the index, but when I search, it
> returns the entire document.  I'd love to have it only
> return the line (or two) around the search term.

Solr can generate Google-like snippets as you describe. 
http://wiki.apache.org/solr/HighlightingParameters

> 2) There are one or two fields at the beginning of the file
> that I would like to search on, so these should be indexed
> differently, right?

Probably yes. 
 
> 3) Is there a nice front-end example anywhere? 
> Something that would return results kind of like Google?

http://wiki.apache.org/solr/PublicServers
http://search-lucene.com/


      

Mime
View raw message