Re: selecting documents older than 4 hours

2010-04-03 Thread herceg_novi
Ok, Field type is as follows: I changed date to # date Wed Mar 31 19:50:48 PDT 2010 Run the query: http://localhost:8983/solr/select/?q=last_update_date:[NOW/DAY-7DAYS%20TO%20NOW/HOUR-5HOURS]&fl=last_update_date&debugQuery=true I should not be getting the 3 entries below with last upd

selecting documents older than 4 hours

2010-03-31 Thread herceg_novi
Hello, I'd like to select documents older than 4 hours in my Solr 1.4 installation. The query q=last_update_date:[NOW-7DAYS TO NOW-4HOURS] does not return a correct recordset. I would expect to get all documents with last_update_date in the specified range. Instead solr returns all documents t

Re: Expanding synonyms for both facets and response results

2009-12-25 Thread herceg_novi
Ahmet Arslan wrote: > > > There is a misunderstanding here. 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 wa

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.

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 name="facet_fields"> section. > > Can you disable HTTP caching by replacing lastModifiedFrom="openTime" etagSeed="Solr"> wi

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 som

Re: Expanding synonyms for both facets and response results

2009-12-24 Thread herceg_novi
Ahmet Arslan wrote: > > Faceting is done on tokens. 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 facet values in appropriate languages.

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: 2 but my result response does not translate the ID to text: 100 (I was expecting "One