Thanks Anuj for your reply. Would it then include it as a field in my POJO?
How do i define such field? I have a POJO with the @Field annotation which
is mapped to fields in my schema.

Thanks.

On Mon, May 23, 2011 at 4:10 PM, Anuj Kumar <anujs...@gmail.com> wrote:

> Hi,
>
> If you mean SolrJ (as I understand by your description of POJOs), you can
> add the score by setting the property IncludeScore to true. For example-
>
> SolrQuery query = new SolrQuery().
>    setQuery(keyword).
>      *setIncludeScore(true);*
>
> Regards,
> Anuj
>
> On Mon, May 23, 2011 at 8:31 PM, Kissue Kissue <kissue...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I am currently using Solr and indexing/reading my documents as POJO. The
> > question i have is how can i include the score in the POJO for each
> > document
> > found in the index?
> >
> > Thanks.
> >
>

Reply via email to