lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bayu Widyasanyata <bwidyasany...@gmail.com>
Subject Re: Displaying a particular field on result
Date Wed, 04 Jun 2014 02:08:35 GMT
Hi Alexandre,

I've already play with "fl" parameter in Admin UI but the result is not I
expected.

>From what I understand that Solr database structure is defined on Solr's
schema.xml.
On that file we defined in example "author" field to store author content
in Solr database.

Even I put "author" as "fl" paramater in Admin UI, the query will never
show the contents, even I have (PDF/doc) document having author content.

How to display that field?
Or take a previous step, how to ensure or check that field is already
stored on Solr?


On Wed, Jun 4, 2014 at 8:59 AM, Alexandre Rafalovitch <arafalov@gmail.com>
wrote:

> Are you looking for the 'fl' parameter by any chance:
>
> https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-Thefl(FieldList)Parameter
> ?
>
> It's in the Admin UI as well.
>
> If not, then you really do need to rephrase your question. Maybe by
> giving a very specific example.
>
> Regards,
>    Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> On Wed, Jun 4, 2014 at 8:51 AM, Bayu Widyasanyata
> <bwidyasanyata@gmail.com> wrote:
> > Hi Ahmet,
> >
> > I just refering to Solr's schema.xml which described this field
> definition.
> > In this case for example "author" field.
> > Then also refer to Solr query's result which I queried through Solr Admin
> > page that didn't response author field.
> > CMIIW.
> >
> > Thanks.-
> >
> >
> > On Wed, Jun 4, 2014 at 5:19 AM, Ahmet Arslan <iorixxx@yahoo.com.invalid>
> > wrote:
> >
> >> Hi Bayu,
> >>
> >> I think this is a nutch question, no?
> >>
> >> Ahmet
> >>
> >>
> >>
> >> On Wednesday, June 4, 2014 1:13 AM, Bayu Widyasanyata <
> >> bwidyasanyata@gmail.com> wrote:
> >> Hi,
> >>
> >> I'm sorry if this is a frequently asked question.
> >>
> >> In default Solr's schema.xml file we define an "author" field like
> >> following:
> >>     <field name="author" type="text_general" stored="true"
> indexed="true"/>
> >>
> >> But this field seems not parsed (by nutch) and indexed (by Solr).
> >> My query is always return null result for "author" field even some
> >> documents (PDF) are have author contents.
> >>
> >> How to display them?
> >> What should I prepared during fetch & parsing which I missed out?
> >> Any documents/links for this issue?
> >>
> >> Thanks in advance.
> >>
> >> --
> >> wassalam,
> >> [bayu]
> >>
> >>
> >
> >
> > --
> > wassalam,
> > [bayu]
>



-- 
wassalam,
[bayu]

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message