Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
You are absolutely right. The fields have trailing spaces in it. Thanks Erick for your time. Really appreciated! Thanks, Alex On May 12, 2010, at 8:29 PM, Erick Erickson wrote: > Click the "schema browser" link on the admin page. > On the next page click > the "fields" link, then the field in

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Found the problem! It's because all the values in productType field have trailing spaces in it like this: "ProductBean ". Thanks Hoss for your suggestion of using Luke query which exposed the problem. You guys are awesome! Thanks, Alex On May 12, 2010, at 10:12 PM,

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Thanks, Alex On May 12, 2010, at 10:04 PM, Alex Wang wrote: > Thanks Hoss. Please see the query results as follows: >> >> : >> : >> : >> : productType:ProductBean >> : >> : >> >> ...can you please disable the QueryElevationComp

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Thanks Hoss. Please see the query results as follows: > > : > : > : > : productType:ProductBean > : > : > > ...can you please disable the QueryElevationComponent and see if that > changes things? > > : productType:ProductBean > > What are the numFound values for these queries? (bot

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Erick, I tried the lower case search (productType:productbean) and I did not get any results either. Luke shows that "ProductBean" for the field, not sure whether it's indexed term or stored term. Does this mean that this is not a case issue? Here is the field definition in the schema: Thank

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Sorry Erick, can you tell me how to find the raw *indexed* terms from the admin console? I am not familiar with the admin console. Thanks, On May 12, 2010, at 10:18 AM, Erick Erickson wrote: > Hmmm, nothing looks odd about that, except perhaps the casing. If you use > the admin > console to loo

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
Bean productType:ProductBean LuceneQParser 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 Alex Wang CrossView Inc. Mobile: 647-4093066 Email: aw...@crossview.com<mailto:aw...@crossview.com> http://www.crossview.com<http://www.

Re: Weird Behavior When Querying Field of Type String

2010-05-12 Thread Alex Wang
l%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22> 0.0 -<%5Cl%20%22%22>

Weird Behavior When Querying Field of Type String

2010-05-11 Thread Alex Wang
Hi, I am getting a weird behavior in my Solr (1.4) index: I have a field defined as follows: and in all my index documents, the value of this field is "ProductBean" (without quotes). However, in the Solr admin console, when I type in the following query, I am expecting all my documents to

Re: Maximum number of fields allowed in a Solr document

2009-11-30 Thread Alex Wang
ut that's a factor, too. > Once in a while people on the list mention cases with lots and lots > of fields, so I'd check ML archives. > > Otis > -- > Sematext is hiring -- http://sematext.com/about/jobs.html?mls > Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER

Maximum number of fields allowed in a Solr document

2009-11-26 Thread Alex Wang
Hi, We are in the process of designing a Solr app where we might have millions of documents and within each of the document, we might have thousands of dynamic fields. These fields are small and only contain an integer, which needs to be retrievable and sortable. My questions is: 1. Is the

RE: Hijacking Search Requests

2009-03-31 Thread Alex Wang
Search Requests > >you may write a servlet filter which is applied before the >SolrDispatchFilter which applies the rules and do the redirect/forward > > >On Tue, Mar 31, 2009 at 2:54 AM, Alex Wang wrote: >> Thanks Grant. Yes, I was trying to persuade our architect to do thi

RE: Hijacking Search Requests

2009-03-30 Thread Alex Wang
ant different >"results" from Solr itself? > >On Mar 30, 2009, at 4:31 PM, Alex Wang wrote: > >> Hi everyone, >> >> We have a web application that queries a Solr server through http. >> What we would like to do is to customize the Solr server and

Hijacking Search Requests

2009-03-30 Thread Alex Wang
Hi everyone, We have a web application that queries a Solr server through http. What we would like to do is to customize the Solr server and hijack the search request. If the user search term matches certain rules, then redirect the user to a different page without even performing any search in