Retrieve one field from collection

2017-01-12 Thread Daisy Khaing TM
00"; -o productIds54.csv Above is one of the method I could think of currently but it could impact our current performance and tedious to do it. Thank you. Regards, Daisy -- CONFIDENTIALITY NOTICE This e-mail (including any attachments) may contain confi

RE: Customizing the search result

2016-12-28 Thread Daisy
ghout the pages. May I know is there any other work around? Thank you. Regards, Daisy -Original Message- From: Daisy [mailto:daisy...@globalsources.com] Sent: Tuesday, December 27, 2016 2:27 PM To: solr-user@lucene.apache.org Subject: RE: Customizing the search result Thanks a lot fo

RE: Customizing the search result

2016-12-26 Thread Daisy
keyword = bag, used groupby=supplier_id, group.limit=1. But there's only 78 suppliers match found for this keyword. In that case, it couldn't fulfil the page requirement anymore. Thank you. Regards, Daisy -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent

RE: How to manages diversity in search results in Solr

2016-12-22 Thread Daisy
The main issue is: Our page needs 80 products to display from different suppliers per keyword search. We have some of the search keywords which only have less than 80 suppliers. If we use groupby(supplier), the 80 products per page is not possible anymore. Regards, Daisy -Original Message

RE: Customizing the search result

2016-12-22 Thread Daisy
an configure rather than code fresh. They may not actually do what you need but before writing your own let's see if maybe there's an easier way to do what you want than extending org.apache.solr.response.transform.DocTransformer and creating a plugin.. Best, Erick On Thu, Dec 22, 201

Customizing the search result

2016-12-22 Thread Daisy
I’m really new to SOLR and excuse me if my question is vague. I found some of the search related things in solr-core → org.apache.solr.search package. I’m not sure this is the right package to look into. 1. I would like to know if we are going to develop our own customized re-ranking,

How to manages diversity in search results in Solr

2016-12-22 Thread Daisy
How to restrict the product search in a marketplace where no more than 3 results per retailer are permitted in search results? I understand the groupby/collapse could solve the issue but is there any other way to do it? Thank you. Regards, Daisy -- CONFIDENTIALITY

Re: Solr - Use Regex in the Query Phrase

2012-10-24 Thread Daisy
Ok, now I have apache-solr-4.0.0 on windows. And I am able to use the plugin ComplexPhraseQuery as mentioned above. So I can search for: For example: "art(.*?)le" or "he sa*". Thanks for all help. What if I want to search a phrase like that: "he (.*?) that" in sentences like: he said that he is a

Re: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Daisy
Thanks very much, I have upgraded my solr to apache-solr-4.0 and my first query works fine. For the second one I have tried what iorixxx pointed out, but I couldnt proceed. I am not experienced with patching, However i tried the steps recommended by Ahmet Arslan here

Solr - Use Regex in the Query Phrase

2012-10-23 Thread Daisy
Hi; I am working with apache-solr-3.6.0 on windows machine. I would like to be able to search for certain phrase which include some regex. For example: I want my query to be: "art(.*?)le" or another example of a phrase: "he sa*" I dont know how to do that in the url that will be sent to solr

Re: Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
Using "solr.LengthFilterFactory" was great and also solve the problem of using PatternReplaceFilter. So now I have two solutions. Thanks all for helping me. One thing I would like to know what is the diffrence between PatternReplaceFilter and PatternReplaceCharFilter? -- View this message in con

Re: Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
Thanks. Finally it works using I wonder what is the reason for that, and what is the difference between the filter and the charFilter? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Remove-specific-punctuation-marks-tp4009795p4009918.html Sent from the Solr - User

Re: Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
How could I know which query parser I am using? Here is the part of my schema that I am using As shown even if I tried to remove "(" the same happened for parsed query and for numFound. -- View this message in context: htt

RE: Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
I tried & and it solved the 500 error code. But still it could find punctuation marks. Although the parsed query didnt contain the punctuation mark, "{" "{" text: text: but still the numfound gives 1 and the highlight shows the result of punctuation mark { The steps I did: 1- editing the sc

RE: Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
Yes I am trying to index Arabic document. There is a problem that the && regex couldn't be understood in the solr schema and it gives 500 - code error. Here is an example: input: هذا مثال: للتوضيح (مثال علي علامات الترقيم) انتهي. I tried also the regex: pattern="([\(\)\}\{\,[^.:\s+\S+]])" but I

Solr - Remove specific punctuation marks

2012-09-24 Thread Daisy
Hi; I am working with apache-solr-3.6.0 on windows machine. I would like to remove all punctuation marks before indexing except the colon and the full-stop. I tried: But it didn't work. Any Ideas? -- View this message in context: http://lucene.472066.n3

Re: Solr - Keep Punctuation in Parsed Phrase Query

2012-09-19 Thread Daisy
Thanks, it worked after editing my schema line to: But I wonder what "text_ws" means? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Keep-Punctuation-in-Parsed-Phrase-Query-tp4008977p4008984.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr - Keep Punctuation in Parsed Phrase Query

2012-09-19 Thread Daisy
Hi; I am working with apache-solr-3.6.0 on windows machine. I would like to search for phrases which contain punctuation marks. Example: "He said: Hi" I tried to escape the punctuation marks using \ so my url was: http://localhost:8983/solr/select/?q="He%20said\:%20Hi"&version=2.2&start=0&rows=1

Solr - Proximity search using exact number of words apart

2012-09-16 Thread Daisy
Hi; I am working with apache-solr-3.6.0 on windows machine. I would like to search for two words with certain number of words apart (No more than this number). For example: Consider the following phrases, I would like to search for Daisy & exam with no more than 2 words apart. Daisy has