Hi,

Does the clucene have the concept of Sharding of Indexes.
How much performance boost it provides in case of searching.Can we mention
to get documents from a perticular shard only, so as to reduce the set of
documents to be searched from.


Regards,
Suman

> Oops. I was thinking solr.
>
> How about this, to find docs that don't have a value in the weight field?
>
>    TermRangeQuery trq = new TermRangeQuery("weight", null, null, true,
> true
> );
>
>     BooleanQuery bq = new BooleanQuery();
>
>     bq.add(new MatchAllDocsQuery(), BooleanClause.Occur.MUST);
>
>     bq.add(trq, BooleanClause.Occur.MUST_NOT);
>
>
>
> Tom
>
>
> On Wed, Mar 10, 2010 at 2:11 PM, Tom Hill <solr-l...@worldware.com> wrote:
>
>> Try
>>
>> -fieldname:[* TO *]
>>
>> as in
>>
>>
>> http://localhost:8983/solr/select/?q=-weight%3A[*+TO+*]&version=2.2&start=0&rows=10&indent=on
>>
>> Tom
>>
>> On Wed, Mar 10, 2010 at 1:48 PM, bgd
>> <woods5242-photogra...@yahoo.com>wrote:
>>
>>> Hi,
>>> I have a bunch of documents which do not have a particular field
>>> defined.
>>> How can define a query do retrieve only those documents?
>>>
>>> Thanks!
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>>
>>>
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to