solr facet fields doesn't honor fq

2012-07-08 Thread Chamnap Chhorn
Hi all, I have a question related to solr 3.5 on field facet. Here is my query: http://localhost:8081/solr_new/select?tie=0.1q.alt=*:*q=bankqf=nameaddressfq= *portal_uuid:+A4E7890F-A188-4663-89EB-176D94DF6774*defType=dismax* facet=true*facet.field=*location_uuid*facet.field=*sub_category_uuids*

Re: How to improve this solr query?

2012-07-05 Thread Chamnap Chhorn
in the specified fields (name, description whatever text fields you want). Best Amit On Mon, Jul 2, 2012 at 9:35 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi all, I'm using solr 3.5 with nested query on the 4 core cpu server + 17 Gb. The problem is that my query is so slow; the average

Re: How to improve this solr query?

2012-07-04 Thread Chamnap Chhorn
can get away with not using *s. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Tue, Jul 3, 2012 at 2:16 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Lance, I didn't use

Re: How to improve this solr query?

2012-07-03 Thread Chamnap Chhorn
Lance, I didn't use widcard at all. I use only this, the difference is quoted or not. q2=*apartment* q1=*apartment* * * On Tue, Jul 3, 2012 at 12:06 PM, Lance Norskog goks...@gmail.com wrote: q2=*apartment* q1=*apartment* These are wildcards On Mon, Jul 2, 2012 at 8:30 PM, Chamnap Chhorn

Re: How to improve this solr query?

2012-07-02 Thread Chamnap Chhorn
, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi all, I'm using solr 3.5 with nested query on the 4 core cpu server + 17 Gb. The problem is that my query is so slow; the average response time is 12 secs against 13 millions documents. What I am doing is to send quoted string (q2

Re: How to improve this solr query?

2012-07-02 Thread Chamnap Chhorn
more slow. Is there some way to search that data differently? If it is a string, can you change it to a text field and make sure 'apartment' is a separate word? On Mon, Jul 2, 2012 at 10:01 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi Michael, Thanks for quick response. Based

Re: Index-time field boost with DIH

2012-05-24 Thread Chamnap Chhorn
Anyone could help me? I really need index-time field-boosting. On Thu, May 24, 2012 at 4:21 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Hi all, I want to do index-time boost field on DIH. Is there any way to do this? I see on this documentation, there is only $docBoost. How about field

Re: Index-time field boost with DIH

2012-05-24 Thread Chamnap Chhorn
is fast and more flexible. wunder Search Guy, Netflix Chegg On May 24, 2012, at 6:11 AM, Chamnap Chhorn wrote: Anyone could help me? I really need index-time field-boosting. On Thu, May 24, 2012 at 4:21 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi all, I want to do index

Re: Index-time field boost with DIH

2012-05-24 Thread Chamnap Chhorn
solrconfig.xml. str name=boostlog(max(docboost,1))/str This will be multiplied into the score for each document. I use the max() function to avoid problems with zero and negative values. wunder On May 24, 2012, at 8:19 AM, Chamnap Chhorn wrote: I need to do index-time field boosting because

Re: Xml representation of indexed document

2012-03-10 Thread Chamnap Chhorn
it helps. paul Le 10 mars 2012 à 08:57, Anupam Bhattacharya a écrit : You can use Luke to view Lucene Indexes. Anupam On Sat, Mar 10, 2012 at 12:27 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Hi all, I'm doing data import using DIH in solr 3.5. I'm curious to know

Accessing other entities from DIH

2012-03-10 Thread Chamnap Chhorn
Hi all, I'm using DIH solr 3.5 to import data from mysql. In my document, I have some fields: name, category, text_spell, ... text_spell is a multi-valued field which combines from name and category (category is a multi-value field as well). entity name=listing query=SELECT uuid,

Re: Accessing other entities from DIH

2012-03-10 Thread Chamnap Chhorn
, Context context) in the abstract class 'Transformer' . As it is javascript the second argument may be omittted and it still works. then, generally it sounds like a copyfield http://wiki.apache.org/solr/SchemaXml#Copy_Fields have you considered it? On Sat, Mar 10, 2012 at 3:42 PM, Chamnap

Re: Xml representation of indexed document

2012-03-10 Thread Chamnap Chhorn
wrote: Hello, DIH has a cute interactive ui with debug/verbose features. Have you checked them? On Sat, Mar 10, 2012 at 10:57 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi all, I'm doing data import using DIH in solr 3.5. I'm curious to know whether it is see the xml

More explanation on row in DIH

2012-03-10 Thread Chamnap Chhorn
Hi all, Anyone please help explain me about a row in DIH. Let's say, a listing can have multiple keyphrase_assets. A keyphrase_asset is a comma-seperated value (hotel,bank,...). I need to index and split by comma into a multi-valued keyphrase field. function fKeyphrasePosition(row) { } entity

Xml representation of indexed document

2012-03-09 Thread Chamnap Chhorn
Hi all, I'm doing data import using DIH in solr 3.5. I'm curious to know whether it is see the xml representation of indexed data from the browser. Is it possible? I just want to make sure these data is correctly indexed with correct value or for debugging purpose. -- Chamnap

Update specific field on Solr index

2011-10-13 Thread Chamnap Chhorn
Hello, I'm working on solr 1.4 with around 10 millions documents. Usually, it's fine. However, the issue arises when I add new field to the schema.xml, I need to reindex the whole database for that new field. Indexing the whole database with the whole properties takes so long to do. It would be

Re: how often do you boys restart your tomcat?

2011-07-26 Thread Chamnap Chhorn
I often restarted the tomcat service before the memory reaches the os limit. Usually, it eats up only 4 GB, but eventually it eats up 11GB. On Wed, Jul 27, 2011 at 8:42 AM, Bing Yu icedf...@gmail.com wrote: I find that, if I do not restart the master's tomcat for some days, the load average

Re: Changing the schema

2011-05-13 Thread Chamnap Chhorn
I wonder what if I add new field in the schema, do i have to reindex? If no need to reindex, can i just update the schema.xml directly? After that, Should I restart the tomcat service? If no need to reindex, how about the existing documents? If I do a query with new field, does it cause errors?

Re: problem when search grouping word

2011-02-25 Thread Chamnap Chhorn
Any idea? On Thu, Feb 24, 2011 at 6:49 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: There are many product names. How could I list them all, and the list is growing fast as well? On Thu, Feb 24, 2011 at 5:25 PM, Grijesh pintu.grij...@gmail.com wrote: may synonym will help

Re: problem when search grouping word

2011-02-24 Thread Chamnap Chhorn
There are many product names. How could I list them all, and the list is growing fast as well? On Thu, Feb 24, 2011 at 5:25 PM, Grijesh pintu.grij...@gmail.com wrote: may synonym will help - Thanx: Grijesh http://lucidimagination.com -- View this message in context:

q.alt=*:* for every request?

2011-02-07 Thread Chamnap Chhorn
Hi, I use dismax handler with solr 1.4. Sometimes, my request comes with q and fq, and others doesn't come with q (only fq and q.alt=*:*). It's quite ok if I send q.alt=*:* for every request? Does it have side effects on performance? -- Chhorn Chamnap http://chamnapchhorn.blogspot.com/

Re: Multi-word exact keyword case-insensitive search suggestions

2011-01-17 Thread Chamnap Chhorn
No other way around to fit this requirement? On Sat, Jan 15, 2011 at 10:01 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Ahh, thanks guys for helping me! For Adam solution, it doesn't work for me. Here is my Field, FieldType, and solr query: fieldType name=text_keyword class

Re: Multi-word exact keyword case-insensitive search suggestions

2011-01-14 Thread Chamnap Chhorn
, Adam On Jan 13, 2011, at 9:08 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Thanks for your reply. However, it doesn't work for my case at all. I think it's the problem with query parser or something else. It forces me to put double quote to the search query in order to get

Re: Multi-word exact keyword case-insensitive search suggestions

2011-01-13 Thread Chamnap Chhorn
are asking for. Adam On Thu, Jan 13, 2011 at 12:05 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi all, I'm just stuck with exact keyword for several days. Hope you guys could help me. Here is the scenario: 1. It need to be matched with multi-word keyword and case insensitive 2

Multi-word exact keyword case-insensitive search suggestions

2011-01-12 Thread Chamnap Chhorn
Hi all, I'm just stuck with exact keyword for several days. Hope you guys could help me. Here is the scenario: 1. It need to be matched with multi-word keyword and case insensitive 2. Partial word or single word matching with this field is not allowed I want to know the field type

Re: Must require quote with single word token query?

2011-01-04 Thread Chamnap Chhorn
: Chamnap Chhorn [chamnapchh...@gmail.com] Sent: Wednesday, November 24, 2010 4:43 AM To: yo...@lucidimagination.com Cc: solr-user@lucene.apache.org Subject: Re: Must require quote with single word token query? I've looked at solr local params. However, I can't figure out how to integrate

Re: Must require quote with single word token query?

2010-11-19 Thread Chamnap Chhorn
Wow, i never know this syntax before. What's that called? On 11/19/10, Yonik Seeley yo...@lucidimagination.com wrote: On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: I have one question related to single word token with dismax query. In order to be found I

Re: Must require quote with single word token query?

2010-11-18 Thread Chamnap Chhorn
: This happening because query parser pre-tokenizes your query using whites paces. It is tokenized before it reaches your query analyzer. And you are using KeywordTokenizer in your field definition. Is there a special reason for you to use KeywordTokenizer ? --- On Thu, 11/18/10, Chamnap Chhorn

Re: Must require quote with single word token query?

2010-11-17 Thread Chamnap Chhorn
wrong somewhere What version of Solr are you using? Also, please post the results of running your original query with debugQuery=on Best Erick On Tue, Nov 16, 2010 at 10:28 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: I have one question related to single word token

Must require quote with single word token query?

2010-11-16 Thread Chamnap Chhorn
I have one question related to single word token with dismax query. In order to be found I need to add the quote around the search query all the time. This is quite hard for me to do since it is part of full text search. Here is my solr query and field type definition (Solr 1.4): fieldType

Re: QueryElevation Component is so slow

2010-10-30 Thread Chamnap Chhorn
29, 2010 at 7:04 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Thanks for reply. I'm looking for how to improve the speed of the search query. The QueryElevation Component is taking too much time which is unacceptable. The size of elevation file is only 1 Mb. I wonder other people

Re: QueryElevation Component is so slow

2010-10-30 Thread Chamnap Chhorn
20 On Sun, Oct 31, 2010 at 9:44 AM, Lance Norskog goks...@gmail.com wrote: How many items for each query? On Sat, Oct 30, 2010 at 7:34 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Well, I use Solr 1.4. There are 30698 lines in my elevation file. I need only 20 results response

Re: QueryElevation Component is so slow

2010-10-29 Thread Chamnap Chhorn
anyone has some suggestions to improve the search? thanks On 10/28/10, Chamnap Chhorn chamnapchh...@gmail.com wrote: Sorry for very bad pasting. I paste it again. Slowest Components Count Exclusive Total QueryElevationComponent

Re: QueryElevation Component is so slow

2010-10-29 Thread Chamnap Chhorn
be spread out. On Fri, Oct 29, 2010 at 12:27 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: anyone has some suggestions to improve the search? thanks On 10/28/10, Chamnap Chhorn chamnapchh...@gmail.com wrote: Sorry for very bad pasting. I paste it again. Slowest Components

QueryElevation Component is so slow

2010-10-28 Thread Chamnap Chhorn
Hi, I'm using solr 1.4 and using QueryElevation Component for guaranteed search position. I have around 700,000 documents with 1 Mb elevation file. It turns out it is quite slow on the newrelic monitoring website: Slowest Components Count Exclusive Total QueryElevationComponent 1 506,858 ms

Re: QueryElevation Component is so slow

2010-10-28 Thread Chamnap Chhorn
% FacetComponent 1 0.0 ms 0% 0.0 ms 0% On Thu, Oct 28, 2010 at 4:57 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Hi, I'm using solr 1.4 and using QueryElevation Component for guaranteed search position. I have around 700,000

Re: Multiple partial word searching with dismax handler

2010-10-20 Thread Chamnap Chhorn
Anyone can suggests how to do multiple partial word searching? On Wed, Oct 20, 2010 at 11:42 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Hi, I have some problem with combining the query with multiple parital-word searching in dismax handler. In order to make multiple partial word

Multiple partial word searching with dismax handler

2010-10-19 Thread Chamnap Chhorn
Hi, I have some problem with combining the query with multiple parital-word searching in dismax handler. In order to make multiple partial word searching, I use EdgeNGramFilterFactory, and my query must be something like this: name_ngram:sun name_ngram:hot in q.alt combined with my search handler

possible to have multiple elevation file?

2010-08-23 Thread Chamnap Chhorn
Hi, I need multiple elevation file for each site (around 200). I think one big elevation file is difficult to manage. How could I manage each elevation file differently? Thanks -- Chhorn Chamnap http://chamnapchhorn.blogspot.com/

Re: possible to have multiple elevation file?

2010-08-23 Thread Chamnap Chhorn
Hi, Here, I talk about QueryElevationComponenthttp://wiki.apache.org/solr/QueryElevationComponent?action=fullsearchcontext=180value=linkto%3A%22QueryElevationComponent%22 . Anyone has some idea? Thanks On Mon, Aug 23, 2010 at 3:10 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Hi, I need

Re: OutOfMemoryErrors

2010-08-17 Thread Chamnap Chhorn
Should I add this line with double quote or not? because if I don't, it doesn't work at all in my /etc/init.d/tomcat6. export CATALINA_OPTS=-Xms256m -Xmx1024m; On Tue, Aug 17, 2010 at 1:36 PM, Grijesh.singh pintu.grij...@gmail.comwrote: put that line in your startup script or u can set as env

Re: OutOfMemoryErrors

2010-08-17 Thread Chamnap Chhorn
Is there a way to verify that I have added correctlly? On Tue, Aug 17, 2010 at 2:41 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Should I add this line with double quote or not? because if I don't, it doesn't work at all in my /etc/init.d/tomcat6. export CATALINA_OPTS=-Xms256m -Xmx1024m

OutOfMemoryErrors

2010-08-16 Thread Chamnap Chhorn
I got this error, anyone could explain and solve this? SEVERE: Exception invoking periodic operation: java.lang.OutOfMemoryError: Java heap space at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:114) at

Re: dismax request handler without q

2010-07-20 Thread Chamnap Chhorn
type). It is set in your config for your default request handler? 2010/7/20 Chamnap Chhorn chamnapchh...@gmail.com I wonder how could i make a query to return only *all books* that has keyphrase web development using dismax handler? A book has multiple keyphrases (keyphrase is multivalued

Re: dismax request handler without q

2010-07-20 Thread Chamnap Chhorn
I can't put q=keyphrase:hotel in my request using dismax handler. It returns no result. On Tue, Jul 20, 2010 at 1:19 PM, Chamnap Chhorn chamnapchh...@gmail.comwrote: There are some default configuration on my solrconfig.xml that I didn't show you. I'm a little confused when reading http

LocalSolr distance in km?

2010-07-20 Thread Chamnap Chhorn
Hi, I want to do a geo query with LocalSolr. However, It seems it supports only miles **when calculating distances. Is there a quick way to use this search component with solr using Km instead? The other thing I want it to calculate distance start from 500 meters up. How could I do this? --

why spellcheck and elevate search components can't work together?

2010-07-19 Thread Chamnap Chhorn
In my solrconfig.xml, I setup this way, but it doesn't work at all. Any one can help? it works one without other one. searchComponent name=elevateListings class=org.apache.solr.handler.component.QueryElevationComponent str name=queryFieldTypestring_ci/str str

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
, 2010 at 6:17 AM, Chamnap Chhorn chamnapchh...@gmail.com wrote: Hi, I'm a ruby developer, no background in Java at all. I need *exclusive=true*to work on elevation search component. However, it does need a patch, https://issues.apache.org/jira/browse/SOLR-1966. Anyone could present me

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
the patch applied. See the second link I originally provided. HTH Erick On Mon, Jul 19, 2010 at 9:15 PM, Chamnap Chhorn chamnapchh...@gmail.com wrote: I'm using Solr 1.4, but the exclusive=true doesn't work for me at all. I wonder how that is ? Any ideas? On Tue, Jul 20, 2010

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
The other thing I want to ask is the latest build of solr is stable or not? I'm afraid it might bring some other problems to my system. Thanks, Chamnap On Tue, Jul 20, 2010 at 8:41 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote: Ah, I get what you mean. One more thing, I wonder the patch SOLR

Re: How to patch SOLR-1966?

2010-07-19 Thread Chamnap Chhorn
Is there an easy way to apply this patch to solr 1.4 release in my system because I will use in the production server. Thanks, Chamnap On Tue, Jul 20, 2010 at 8:49 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote: The other thing I want to ask is the latest build of solr is stable or not? I'm

dismax request handler without q

2010-07-19 Thread Chamnap Chhorn
I wonder how could i make a query to return only *all books* that has keyphrase web development using dismax handler? A book has multiple keyphrases (keyphrase is multivalued column). Do I have to pass q parameter? Is it the correct one?

Re: Ranking position in solr

2010-07-14 Thread Chamnap Chhorn
I sent this command: curl http://localhost:8081/solr/update -F stream.body=' commit /', but it doesn't reload. It doesn't reload automatically after every commit or optimize unless I add new document then i commit. Any idea? On Tue, Jul 13, 2010 at 4:54 PM, Ahmet Arslan iori...@yahoo.com wrote:

Re: Ranking position in solr

2010-07-13 Thread Chamnap Chhorn
The problem is that every time I update the elevate.xml, I need to restart solr tomcat service. This feature needs to be updated frequently. How would i handle that? Any idea or other solutions? On Mon, Jul 12, 2010 at 5:45 PM, Ahmet Arslan iori...@yahoo.com wrote: I wonder there is a proper

Re: Ranking position in solr

2010-07-13 Thread Chamnap Chhorn
I'm using solr 1.4 and only one core. The elevate xml file is quite big, and i wonder can solr handle that? How to reload the core? On Tue, Jul 13, 2010 at 4:12 PM, Ahmet Arslan iori...@yahoo.com wrote: The problem is that every time I update the elevate.xml, I need to restart solr tomcat

Ranking position in solr

2010-07-12 Thread Chamnap Chhorn
I wonder there is a proper way to fulfill this requirement. A book has several keyphrases. Each keyphrase consists from one word to 3 words. The author could either buy keyphrase position or don't buy position. Note: each author could buy more than 1 keyphrase. The keyphrase search must be exact

Re: Score boosting

2010-07-11 Thread Chamnap Chhorn
Thanks for your reply. Do you have other solution? Here each keyphrase must be matched with the exact and whole world. The problem is that it is a multivalued column. Chamnap On Thu, Jul 8, 2010 at 7:40 PM, osocurious2 ken.fos...@realestate.comwrote: Sounds like you want Payloads. I don't

Score boosting

2010-07-08 Thread Chamnap Chhorn
Hi everyone, I have a requirement to achieve, but i can't figure out how to do it. Hope someone could help me. Here is the requirement: A book has several keyphrases (available to use in searching). The author could buy the search result position with these keyphrases or simply add keyphrases

partial word searching

2010-04-21 Thread Chamnap Chhorn
Hi everyone, I'm quite new to solr 1.4. I have a requirement to be able to search partial words (sun hot = Sunway Hotel) and to search full word(sunway hotel = Sunway Hotel). Currently, I could be able to search only full word. Anyone has any suggestions? -- Chhorn Chamnap