MaxRows and disabling sort

2011-01-15 Thread Salman Akram
Hi,

I want to limit my SOLR results so that it stops further searching once it
founds a certain number of records (just like 'limit' in MySQL).

I know it has timeAllowed property but is there anything like MaxRows? I am
NOT talking about 'rows' attribute which returns a specific no. of rows to
client. This seems a very nice way to stop SOLR from traversing through the
complete index but I am not sure if there is anything like this.

Also I guess default sorting is on Scoring and sorting can only be done once
it has the scores of all matches so then limiting it to the max rows becomes
useless. So if there a way to disable sorting? e.g. it returns the rows as
it finds without any order?

Thanks!


-- 
Regards,

Salman Akram
Senior Software Engineer - Tech Lead
80-A, Abu Bakar Block, Garden Town, Pakistan
Cell: +92-321-4391210


Re: solr speed issues..

2011-01-15 Thread saureen

I am using three solr cores and all the cores are on the same m/c

My configuration is such that i have a machine where code resides and there
are 10 other machines which contains the indexed data in cluster.so the code
machine picks up a random machine for getting solr data.

Also the reason why no of rows are 500 for my application is because i am
selecting a text field and based on the 500 results i am calculating
word-frequency array,i cant reduce the rows to less than 500 or else the
application wont work as expected..

The data comes over the network and is in compressed form,also the data in
stored in compressed form.

Also the memory allocated for JVM is 1GB which is fair enough.

so,without reducing the rows fetch on single solr call i need to speed up
the process.So plz suggest the solution in this direction.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-speed-issues-tp2254823p2260692.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: MaxRows and disabling sort

2011-01-15 Thread Salman Akram
It still returns me (total) 'numFound' that means its scanning all records.

So it seems except timeAllowed there is no way to tell SOLR to stop
searching for all records?

Thanks!

On Sat, Jan 15, 2011 at 7:03 AM, Chris Hostetter
wrote:

>
> : Also I guess default sorting is on Scoring and sorting can only be done
> once
> : it has the scores of all matches so then limiting it to the max rows
> becomes
> : useless. So if there a way to disable sorting? e.g. it returns the rows
> as
> : it finds without any order?
>
> http://wiki.apache.org/solr/CommonQueryParameters#sort
> "You can sort by index id using sort=_docid_ asc or sort=_docid_ desc"
>
> if you specify _docid_ asc then solr should return as soon as it finds the
> first N matching results w/o scoring all docs (because no score will be
> computed)
>
> if you use any complex features however (faceting or what not) then it
> will still most likely need to scan all docs.
>
>
> -Hoss
>



-- 
Regards,

Salman Akram


Lucene 2.9.x vs 3.x

2011-01-15 Thread Salman Akram
Hi,

SOLR 1.4.1 uses Lucene 2.9.3 by default (I think so). I have few questions

Are there any major performance (or other) improvements in Lucene
3.0.3/Lucene 2.9.4?

Does 3.x has major compatibility issues moving from 2.9.x?

Will SOLR 1.4.1 build work fine with Lucene 3.0.3?

Thanks!

-- 
Regards,

Salman Akram
Senior Software Engineer - Tech Lead
80-A, Abu Bakar Block, Garden Town, Pakistan
Cell: +92-321-4391210


Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag

I am solr-1.3.0 user , where we have integrated Nutch. I want my query types
to be like
eg. at least "some query", or
 most of "some query"

This is to be done through Fuzzy Search techniques. I know there is fuzzy
search in solr using ~(tilde ) sign like
e.g."somequery"~0.8
But we want query to be of above types because its convenient to user to ask
for what he/she really mean. It happens that using AND, OR , NOT for a user
is difficult as user doesnot know where to use AND and where to use OR in
the terms. The logical operators become difficult to use in search query.

Any one have any idea on how to proceed to implement this?

Thanks 

-
Kumar Anurag

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2261469.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag

Please reply...I need help from you all...

-
Kumar Anurag

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2262917.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Ahmet Arslan
> want my query types
> to be like
> eg. at least "some query", or
>      most of "some query"

Can you elaborate more? It is not so visible what you want.






Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag

The query will be like
1. " at least (lucene) "
2. " mostly (solr) "
3. Q(query)="most"(t1,t2,t3,t7)   where t1,t2,t3,t7 are terms
4. Q=(t1,0.9) and {(t2,0.5) or (t3,0.7)}

Actually the purpose to expand the query types enterd by user.


On Sun, Jan 16, 2011 at 12:55 AM, iorixxx [via Lucene] <
ml-node+2263070-1851340758-146...@n3.nabble.com
> wrote:

> > want my query types
> > to be like
> > eg. at least "some query", or
> >  most of "some query"
>
> Can you elaborate more? It is not so visible what you want.
>
>
>
>
>
>
> --
>  View message @
> http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2263070.html
> To unsubscribe from Implementing Fuzzy Search using OWA operator and Fuzzy
> Linguistic Quantifier, click 
> here.
>
>



-- 
Kumar Anurag


-
Kumar Anurag

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2263161.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Query : FAQ? Forum?

2011-01-15 Thread Otis Gospodnetic
Hi Cathy,

Have a look at http://search-lucene.com/

Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



- Original Message 
> From: Cathy Hemsley 
> To: solr-user 
> Sent: Fri, January 14, 2011 6:45:05 AM
> Subject: Query : FAQ? Forum?
> 
> Hi,
> 
> I am trying to get Solr installed and working:  and have some  queries:  is
> there a FAQ or a Forum?  How do I search to see  whether someone has already
> asked my question and answered  it?
> 
> Regards
> Cathy
> 
> 
> -- 
> Converteam UK Ltd. Registration  Number: 5571739 and Converteam Ltd.
> Registration Number:  2416188
> 
> Registered in England and Wales.
> 
> Registered office:  Boughton Road, Rugby, Warwickshire, CV21 1BU.
> 
> CONFIDENTIALITY : This  e-mail and any attachments are confidential and may
> be privileged. If you are  not a named recipient, please notify the sender
> immediately and do not  disclose the contents to another person, use it for
> any purpose or store or  copy the information in any medium.
> 
> Please consider the environment  before printing this e-mail
> 
> Converteam UK Ltd. Registration Number:  5571739 and Converteam Ltd. 
>Registration Number: 2416188 Registered in England  and Wales. Registered 
>office: Boughton Road, Rugby, Warwickshire, CV21  1BU.
> 
> CONFIDENTIALITY : This e-mail and any attachments are confidential  and may 
> be 
>privileged. 
>
> If you are not a named recipient, please notify the  sender immediately and 
> do 
>not disclose the contents to another person, use it  for any purpose or store 
>or 
>copy the information in any medium.
> 
> http://www.converteam.com
> 
> Please consider the environment before  printing this e-mail.
> 


Re: spell suggest response

2011-01-15 Thread Otis Gospodnetic
Hi Grijesh,

Sounds interesting.  Do you have an example of this on some public site that 
one 
could see?
I'm mainly curious and want to see how it compares to auto-complete on 
http://search-lucene.com for example.

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



- Original Message 
> From: Grijesh.singh 
> To: solr-user@lucene.apache.org
> Sent: Thu, January 13, 2011 5:39:53 AM
> Subject: Re: spell suggest response
> 
> 
> Similar type of work I have done earlier by using spell-check component  with
> auto-suggest combined.
> 
> Autosuggest will provide the words  starting with query term and spellcheck
> returns the words similar to  that.
> I have combined both suggestion in single list to  display
> 
> -
> Grijesh
> -- 
> View this message in context: 
>http://lucene.472066.n3.nabble.com/spell-suggest-response-tp2233409p2247479.html
> Sent  from the Solr - User mailing list archive at Nabble.com.
>