RE #2: You could use query-time boosting to boost the relevance of the
'fulltext' field... I don't have an example of the top of my head but I
think this should be possible... maybe even combining your original query
with a fulltext:{query}^10 (where '10' is the boost value... this is
probably too high! but suffices for demo purposes.)
Another example:
* A "normal" search for Brian Cox:
http://demo.dspace.org/xmlui/discover?scope=%2F&query=Brian+Cox
Note that the first result is a non-text bitstream, so not full text. The
second result is a text bitstream which should be indexed as fulltext.
* A "boosted text" search for Brian Cox:
http://demo.dspace.org/xmlui/discover?scope=%2F&query=Brian+Cox+OR+(fulltext:*+AND+Brian+Cox)^10
Here we see the fulltext item appearing first, because the OR I wrote (which
just combines the original query with a fulltext:* query) is boosted by 10.
^VALUE is standard lucene queryparser syntax, so it's easy to use with Solr
too.
Cheers,
Kim
On 7 October 2011 01:05, Bram Luyten <[email protected]> wrote:
> Hi Helix,
>
> 1. To this goal, you can put "[* TO *]" in the fulltext filter query, with
> a query like " fulltext:[* TO *]".
> see it in action:
>
> http://demo.dspace.org/xmlui/discover?scope=%2F&query=fulltext%3A[*+TO+*]&submit=Go
>
> 2. As far as I know, I don't think that's possible.
>
> best regards,
>
> Bram
>
> --
> [image: logo]
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> <http://www.atmire.com/>www.atmire.com
>
>
>
> On Tue, Oct 4, 2011 at 11:46 AM, helix84 <[email protected]> wrote:
>
>> Hello,
>> I'm using DSpace trunk with Discovery and I will stay on 1.8 when it comes
>> out.
>>
>> Most of our records are bibliographic only and we will add full texts
>> in small amounts as we gain access to them. We would like to make
>> records with fulltexts prominently visible and make it also possible
>> to search/browse only in items with fulltexts.
>>
>> Therefore I'd like to ask:
>> 1) Is it possible to have a Discovery facet for items with fulltext?
>> 2) Is it possible to rank items with full text before items without
>> full text in browse/search?
>> If so, how do I do it?
>>
>> Let's define fulltext items as "item has at least one bitstream
>> attached in the ORIGINAL bundle".
>>
>> Thanks in advance.
>>
>> Regards,
>> ~~helix84
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy1
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech