term « lucene.net « 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 » lucene.net » term 

1. Modifying a term in lucene    stackoverflow.com

Let’s assume I have an index structured as below

    name | species | color
    -----+---------+------
    max  | cat    ...

2. lucene.net combine multiple filters and no search terms    stackoverflow.com

How can I do a Filter across multiple fields in Lucene.Net? On one field I simply do:

TermQuery tool = new TermQuery(new Term("Tool", "Nail"));
Filter f = new QueryFilter(tool);
If I now wanted to ...

3. Lucene - Searching several terms in different fields    stackoverflow.com

I have a Lucene index which populates from a database. I store/index some fields and then add a FullText field in which I index the contents of all the other fields, ...

4. Lucene returns same exact search results no matter the search term    stackoverflow.com

Here is my code

term = Server.UrlDecode(term);
        string indexFileLocation = "C:\\lucene\\Index\\post";
        Lucene.Net.Store.Directory dir =
     ...

5. Lucene.NET: Retrieving all the Terms used in a particular Document    stackoverflow.com

Is there a way to itterate through all of the terms held against a particular document in a Lucene.NET index? Basically I want to be able to retrieve a Document from the ...

6. Is there a way I can provide Lucene.NET with a list of predefined relevant terms?    stackoverflow.com

I know I can, during search, specify a "boost factor" to a term as described in http://lucene.apache.org/java/2_4_0/queryparsersyntax.html. My question is: Can I provide Lucene with a predefined table of relevance? For ...

7. Calculate the score only based on the documents have more occurance of term in lucene    stackoverflow.com

I am started working on resume retrieval(document) component based on lucene.net engine. It works great, and it fetches the document and score it based on the

the idea behind the ...

8. Lucene.Net: How can I add extra weight to a term?    stackoverflow.com

My indexer indexes the title and the body of a post, but I'd like the words contained in the title of the post to carry more weight, and thus float to ...

9. How to put term payload pairs to a lucene document    stackoverflow.com

I have a list of terms and associated payloads. How can I put these into a lucene document or rather a field? Here is my list:

List<MyTerm> list = new List<MyTerm>(){
 new MyTerm(){
 ...

10. Howto perform a 'contains' search rather than 'starts with' using Lucene.Net    stackoverflow.com

We use Lucene.NET to implement a full text search on a clients website. The search itself works already but we now want to implement a modification. Currently all terms get appended a ...

11. Finding offsets of a search term in lucene.net,c#    stackoverflow.com

How could I get offsets for the tokens that has to be searched in Lucene.net?I am using FastVector Highlighter for highlighting a text? Note:I have already got the offsets of all the ...

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.