I inserted five /opt/solr/*.txt files for testing. Four of the files contain 
the word 'notice'.Solr finds 4 documents, but I can't see the text.
http://localhost:8983/solr/core1/select?fl=_text_&indent=on&q=notice&wt=json
"response":{"numFound":4, "start":0, "docs"{{},{},{},{}} 

    On Thursday, November 3, 2016 1:02 PM, Binoy Dalal <binoydala...@gmail.com> 
wrote:
 

 Append the fields you want to display to the query using the fl parameter.
Eg. q=something&fl=_text_

On Thu, Nov 3, 2016 at 10:28 PM win harrington
<win_harring...@yahoo.com.invalid> wrote:

> I used solr/post to insert some *.txt files intoSolr 6. I can search for
> words in Solr and itreturns the id with the file name.
> How do I display the text?
> managed-schema has
> <field name="_text_" type="text_general" indexed="true" stored="true"
> multiValued="true"/>
> <copyField source="*" dest="_text_"/>
> Thank you.
>
-- 
Regards,
Binoy Dalal


   

Reply via email to