date « Development « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » Development » date 

1. Solr fetching date ranges    stackoverflow.com

Well, i'm coding some methods for returning solr docs that mach a interval date range. Docs stored date fields with ISO 8601 format. Any idea? thx

2. Can I restrict the search to a specific date range?    stackoverflow.com

I want to get all results AFTER a given date, can you do this with solr? (http://lucene.apache.org/solr/) Right now the results are search the entire result set, I want to filter ...

3. Solr search is ignoring a date filter    stackoverflow.com

In the solr admin (www.example.com:8065/solr/admin/file/?file=schema.xml, my schema.xml looks like:

<field name="unique_id" type="string" indexed="true" stored="true" required="true"/>
<field name="collapse" type="string" indexed="true" stored="true"/>
<field name="roles" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="apptype" type="string" indexed="true" stored="true"/>
<field name="attachmentname" type="string" indexed="true" stored="true"/>
<field ...

4. Searching on date ranges with Lucene in Java?    stackoverflow.com

Is it possible to search on date ranges using Lucene in Java? How do I build Lucene search queries based on date fields and dates ranges? For example:

  • between specified dates
  • prior to ...

5. Sort by date in Solr/Lucene performance problems    stackoverflow.com

We have set up an Solr index containing 36 million documents (~1K-2K each) and we try to query a maximum of 100 documents matching a single simple keyword. This works pretty ...

6. Solr date range problem and specific date problem    stackoverflow.com

I index some data include date in solr but when search for specific date, i get some record (not all record) include some record in next day for example:

http://localhost:8080/solr/select/?q=pubdate:[2010-03-25T00:00:00Z ...

7. SOLR date faceting and BC / BCE dates / negative date ranges    stackoverflow.com

Date ranges including BC dates is this possible? I would like to return facets for all years between 11000 BCE (BC) and 9000 BCE (BC) using SOLR. A sample query might be ...

8. Solr multiple facet dates    stackoverflow.com

According to the Apache Solr documentation on facets, I can use keys because: 'This can be helpful when faceting on the same field multiple times with different exclusions.' I need ...

9. Solr data type for date faceting    stackoverflow.com

1)I have a field storing timestamp as text (YYYYMMDDHHMM). Can i get the results as i get with date faceting? (July(30),August(54) etc) As per my knowledge Solr currently doesn't support range faceting, ...

10. How to retrieve results by date range and sort using SOLR with ColdFusion 9.0.1?    stackoverflow.com

I'm using ColdFusion 9.0.1 and the integrated SOLR full text search engine. I have dates stored in my SQL Server database as datetime fields for upcoming events. I took these records and ...

11. Using facet.date with stats.facet in solr    stackoverflow.com

I'm using the Stats component in solr to do get faceted statistics, which works very well, and now I'm interested in doing the same for my date fields. But it seems ...

12. Solr: org.apache.solr.common.SolrException: Invalid Date String:    stackoverflow.com

I am new to solr and this is my first attempt at indexing solr data, I am getting the following exception while indexing,

org.apache.solr.common.SolrException: Invalid Date String:'2011-01-07' at org.apache.solr.schema.DateField.parseMath(DateField.java:165) ...

13. Date Faceting and timezone offset bug    stackoverflow.com

I am trying to facet based on date field and apply user timezone offset so that the faceted results are in user timezone. My faceted result is given below,

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst ...

14. SOLR 3.1 - Date Issues    stackoverflow.com

We are using SOLR 3.1 and facing many problems with dates. We are using database Sql Server 2005. So, when we imported data from database to collection, the first problem we ...

15. Solr dataimporter.functions.formatDate get current date    stackoverflow.com

I´m using solr 3.2 version. I need to get the current date in this format: yyyyMMdd and then use that result in a delta query I´ve tried using this wiki

16. SolR incorrecly highlights date in snippet    stackoverflow.com

When querying SolR with a date SolR will actually highlight stuff from the text field where it matches elements from the date, typically year. So a query like:

q=text:(John)++AND+date:[2010-01-01T00:00:00Z+TO+2019-12-31T23:59:59Z]&hl=true
Will return snippets like:
blabla bla ...

17. Solr multiple search and group by date range    stackoverflow.com

if have the problem to execute multiple Solr queries at ones with the same phrase but for different timeranges. Example:

search for "atom" at:
2011-04-01T10:20:22.0Z TO 2011-04-01T12:20:22.0Z
2011-03-08T10:20:22.0Z TO 2011-03-08T12:20:22.0Z
2011-02-05T10:20:22.0Z TO 2011-02-05T12:20:22.0Z
So i need ...

18. Best way to search for date availability in lucene    stackoverflow.com

I have a scenario in which I have an object which has an availability property assosiated with it. I have encoded the dates in a month as a 32 bit binary ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.