Filter « query « 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 » query » Filter 

1. Solr Filter for Logging/Analysing Queries    stackoverflow.com

I'm using Solr and wish to be able to log queries/tokens to a database for analytics for both marketing and suggested search functionality. I'm guessing that a Lucene filter would be a ...

2. Using a function in a filter query in Solr    stackoverflow.com

I want to filter my result set before I search. I know the correct way to do this is by using the filter query (fq) parameter. However, I want to filter ...

3. How to combine BooleanQuery and Filter for Lucene?    stackoverflow.com

I'm wondering if there's a way to perform a filtered search in Lucene index with a combination of Filter and Query instead of a BooleanQuery? Since performing a query causes calculation ...

4. Special characters in Solr filter fq    stackoverflow.com

I'm trying to filter with fq for fields having special characters, particularly parentheses. For example, given the document:

<result name="response" numFound="1" start="0">
  <doc>
    <arr name="town_snc">
   ...

5. passing comma seperated values in filter query of solr response    stackoverflow.com

I want to pass comma seperated values in filter query (fq) of solr response, currently when i want to pass multiple categories i use OR operator. like this fq=categoryId:3 OR categoryId:55 ...

6. Limit the amount of results returned by a filter query in Solr    stackoverflow.com

I'm working on a project which uses Solr as its search engine. Is it possible to limit the amount of results returned by a filter query in Solr? Thanks! Krt_Malta

7. Is {Filter}ing faster than {Query}ing in Lucene?    stackoverflow.com

While reading "Lucene in Action 2nd edition" I came across the description of Filter classes which are could be used for result filtering in Lucene. Lucene has a lot of filters ...

8. Apache Solr and customized field filter for search    stackoverflow.com

in my schema i have a field (salary) which is actually a string, because it can be anything (fetched from some websites): only numbers, strings, no numbers at all. Basically, anything. ...

9. Solr/Lucene: What is the difference between regular queries and filter queries    stackoverflow.com

I'm currently implementing a Solr solution where a user is able to select various options to search for a product. I can now take all those options and put them together ...

10. apache solr - OR in filter query    stackoverflow.com

Is it possible to search (with apache solr) for items which are in one of few categories using filter query, eg items in category 'computers' OR 'phones' When I want to search ...

11. Filter / function query to compare distance with field value    stackoverflow.com

Can anyone help me to write a function query which compares the distance between a fixed point (supplied in the query) and a point stored per document with a distance stored ...

12. Solr Facet Filter - q vs fq returning different results?    stackoverflow.com

Can anybody tell me why these Solr queries would return vastly different results:

q=BBC+Food&fq=Source:"BBC-WORLDWIDE"
and
q=(BBC+Food)+AND+(Source:"BBC-WORLDWIDE")
The first returns 6 results, and the latter 58. UPDATE: It turns out that the first query is searching for documents ...

13. Solr 3.4 group.truncate does not work with facet queries    stackoverflow.com

When using Grouping with group.truncate=true, The following simple facet query:

facet.query=Monitor_id:[380000 TO 400000]
Doesn't give the same number as the nGroups result for the equivalent filter query:
fq=Monitor_id:[380000 TO 400000]
I thought they should be ...

14. Cannot find source of IndexSearcher.search(Query query, Filter filter, int n)    stackoverflow.com

I want to modify this method (implement my own version of it) but I can't find the real source. So far I've only found out that it is inherited from Searcher, ...

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.