Re: selecting documents older than 4 hours

2010-04-03 Thread herceg_novi
Ok, Field type is as follows: fieldType name=date class=solr.DateField sortMissingLast=true omitNorms=true/ field name=last_update_date type=date indexed=true stored=true/ I changed date to # date Wed Mar 31 19:50:48 PDT 2010 Run the query:

Re: Expanding synonyms for both facets and response results

2009-12-25 Thread herceg_novi
Ahmet Arslan wrote: There is a misunderstanding here. str response result will always show original value of the field (that you post while adding), there is no way to see synonym in this section. Only way to change it before analysis phase is to use update processor. My point was to

Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Hello, I have used synonyms to provide translation from my keys to appropriate English text. When using facets, the field appropriately displays the synonym field: lst name=apt_type_en int name=One Bedroom Apartment2/int /lst but my result response does not translate

Re: Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Ahmet Arslan wrote: Faceting is done on tokens. result name=response returns the original value (not analyzed) of documents. Can you explain more what are you trying to do? I am working on a multi language website. I need to perform faceting on the exact same records, but need to display

Re: Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Ahmet Arslan wrote: Did you restart tomcat and re-index? I just confirmed faceting will return above. use expand=true with comma separated entries to get above. You can confirm expansion is done and original token is preserved with analysis.jsp page. Ok, I must be missing something

Re: Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Ahmet Arslan wrote: Strange if you can see injected token One Bedroom Apartmen as well as original token 100 in the analysis.jsp you should see 100 in the lst name=facet_fields lst name=apt_type_en section. Can you disable HTTP caching by replacing httpCaching

Re: Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Ahmet Arslan wrote: I think you are populating apt_type_en, apt_type_fr and apt_type_it fields from apt_type via copyField decleration in schema.xml. Maybe in your case it is more convenient to populate those field in an UpdateRequestProcessor and remove copyField declerations.