Help with Nested Query

2011-04-12 Thread Hasnain
Hi, Im trying to do somethinglike this in Solr 1.4.1 fq=category_id:(24 79) However the values inside the parenthesis will be fetched through another query, so far I’ve tried using _query_ but it doesnt work the way I want it to. Here is what im trying fq=category_id:(_query_:”{!lucene fl=catego

Highlighting approach.

2011-01-19 Thread Hasnain
roach will seriously slow things up because of looping. Is this the only way to use highlighting component or is my understanding not correct? Im using solr 1.4 Thanks in advance Hasnain. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-approach-tp2288552p2288552.html

Re: Removing deleted terms from spellchecker index

2010-12-29 Thread Hasnain
Hi guys, Thankyou for the answers, now it is working properly. I have just one concern about this approch, we are already committing after every add/delete operation. Can I substitude this with only optimize command? and how would this effect our performance? -- View this message in context: ht

Removing deleted terms from spellchecker index

2010-12-29 Thread Hasnain
Hi, I have configured spellchecker in solrconfig.xml and it is working fine for existing terms. However, if i delete a term, it is still being returned as a suggestion from the spellchecker, even though the term is not being returned if i search the main index. Can anyone guide me as to what cou

Re: spellcheck

2010-12-24 Thread Hasnain
Hi, Im facing the same problem, did anyone find a solution? -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-tp506116p2140923.html Sent from the Solr - User mailing list archive at Nabble.com.

Item catagorization problem.

2010-12-23 Thread Hasnain
Hi all, I am using solr in my web application for search purposes. However, i am having a problem with the default behaviour of the solr search. >From my understanding, if i query for a keyword, let's say "Laptop", preference is given to result rows having more occurences of the search

Re: Item precedence search problem

2010-12-22 Thread Hasnain
Hi, First of all thanks for replying. Secondly, maybe i wasn't clear enough in my original post regarding what was required and what has been implemented. In my schema, i have another field by the name of "Category" and, for example's sake, let's assume that my application supports only two cat

Item precedence search problem

2010-12-22 Thread Hasnain
Hi all, I am using solr in my web application for search purposes. However, i am having a problem with the default behaviour of the solr search. >From my understanding, if i query for a keyword, let's say "Laptop", preference is given to result rows having more occurences of the search ke

Searching with Number fields

2010-10-20 Thread Hasnain
Hi, Im having trouble with searching with number fields, if this field has alphanumerics then search is working perfect but not with all numbers, can anyone suggest me solution???

Re: Prioritizing advectives in solr search

2010-10-04 Thread Hasnain
Hi Otis, Thank you for replying, unfortunately Im unable to fully grasp what you are trying to say, can you please elaborate what is payload with adjective terms? also Im using stopwords.txt to stop adjectives, adverbs and verbs, now when I search for "Blue hammers", solr searches for "

Prioritizing advectives in solr search

2010-10-01 Thread Hasnain
Hi, My question is related to search results giving less importance to adjectives, here is my scenario, im using dismax handler and my understanding is when I query "Blue hammer", solr brings me results for "blue hammer", "blue" and "hammer", and in the same hierarchy, which is understandabl

Re: Alphanumeric wildcard search problem

2010-09-07 Thread Hasnain
The real problem was this tag text and I was quering like this q=r-1* instead of q=mat_nr:r-1* so whatever fieldType I use for mat_nr, it was using "text" fieldType which had WordDelimiterFilterFactory, hence I had to put space inorder to get it running. -- View this message in context: http:

Re: Alphanumeric wildcard search problem

2010-09-06 Thread Hasnain
Finally got it working, thanks for your help and support -- View this message in context: http://lucene.472066.n3.nabble.com/Alphanumeric-wildcard-search-problem-tp1393332p1429315.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Alphanumeric wildcard search problem

2010-09-06 Thread Hasnain
t I'd > recommend: > > back up and forget dismax for a while, just get it all working > with the normal query parser and gradually add things back > in until you either fail succeed all the way back to dismax. > > BTW, you probably want to specify dismax with the qf p

Re: Alphanumeric wildcard search problem

2010-09-02 Thread Hasnain
Erick, I have checked with lowercasing, and yes there are Items by this name. Im not getting anywhere with this, tried many things and Im really perplexed. any other suggestion? Oh dear. Wildcard queries aren't analyzed, so I suspect it's a casing issue. Try two things: 1> searc

Re: Alphanumeric wildcard search problem

2010-09-01 Thread Hasnain
;ve made the changes you outlined above? > The SOLR > admin page can help here, especially the [full interface] link, with debug > info on. > > If nothing shows up, can you post the results of &debugQuery=on? > > Best > Erick > > On Tue, Aug 31, 2010 at 6:11 AM, Hasn

Alphanumeric wildcard search problem

2010-08-31 Thread Hasnain
I have gone through all the of the related posts, but could not find a proper answer that works, so Im writing this post Is there anyway of using wilcard searches on alphanumeric text like...R-1* ? let me share relevent information 

Re: Search Results optimization

2010-08-29 Thread Hasnain
also my request handler looks like this dismax name ^2.4 0.1 I really need some help on this, again, what I want is...if I search for "swingline red stapler", In results, docs that have all three keywords should come on top, then docs that have any 2 keywords and then docs with 1 keyword, i

Re: Search Results optimization

2010-08-27 Thread Hasnain
Thank you so much for valuable suggestions this is the query im using q=swingline red stapler hammer hand rigid&fl=name&qt=standard1&rows=35&debugQuery=true here is my output, as you can see close to last records, "Swingline Stapler" scored more than "Swingline Red Stapler - 747 series, but I

Re: Search Results optimization

2010-08-26 Thread Hasnain
perhaps i wasnt clear in my earlier post if user searches for "swingline red stapler hammer hand rigid", then documents that matches max number of words written in query should come first e.g a document with name field as "swingline stapler" should come later than the document with "swingline red

Re: Search Results optimization

2010-08-13 Thread Hasnain
im sorry, query q=stapler^100 hammer ^0 is working fine, but I still need guidance with my second question. -- View this message in context: http://lucene.472066.n3.nabble.com/Search-Results-optimization-tp1129374p1138110.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search Results optimization

2010-08-13 Thread Hasnain
Thank you for quick response I've tried using boosting and used the query q=stapler^100 hammer ^0, but it is still mixing up the results, am I doing it wrong? also, if I have items named as "Swingline red stapler" and "Arm & hammer", how would I know when querying that "swingline red stapler" is o

Search Results optimization

2010-08-13 Thread Hasnain
Hi All, My question is related to search results, I want to customize my query so that for query "stapler hammer", I should get results for all items containing word "stapler" first and then results containing hammer, right now results are mixing up, I want them sorted, i.e. all results of staple