Hey SO,
I'm running Zend_Search_Lucene, which is almost exactly the same as normal Lucene. I'm keeping stores in my Lucene index, and they're holding this:
id of store for sql - 'store_id' of field type keyword
name of store - 'name' of field type text
latitude of store - 'lat' of field type keyword
longitude of store - 'lng' of fi...
Does someone know if Zend_Lucene class support CJK (Chinese Japanese Korean).
I want to use it on my own website the only problem it should work for both English and Japanese language.
Also if someone has some ressource about CJK version of the Java version would be appreciated also.
Thanks
...
I'm trying to produce something similar to what QueryParser in lucene does, but without the parser, i.e. run a string through StandardAnalyzer, tokenize this and use TermQuery:s in a BooleanQuery to produce a query. My problem is that I only get Token:s from StandardAnalyzer, and not Term:s. I can convert a Token to a term by just extrac...
I have a SQL 2000 database with around 10 million rows and I need to make a query to get the product information based on the full / partial text search.
Based on this I need to join back to other tables to check on my business process.
I have this implemented using SQL proc, but I can only validate around 6 rows a sec (without threads....
I am trying to get a particular search to work and it is proving problematic. The actual source data is quite complex but can be summarised by the following example:
I have articles that are indexed so
that they can be searched. Each
article also has multiple properties
associated with it which are also
indexed and searchable...
Dear All,
I have a list of all words in the document. I want to index it and latter I want to retrieve a particular word and some near by words (10 words before the result and 10 words after the result).
What is the proper way of indexing and searching in Lucene.net?
Please reply me as soon as possible.
Thanking you,
Ashish
...
I have a typical enterprise/business application that I am developing that includes orders, salespersons, contacts, reference data, etc... There will be at least 100 or more users on the system at a time who are entering new data, changing data, etc. I need to provide search capability across the application for almost all tables.
O...
Hi all,
I've been studying soundex, metaphone and other string search techniques the past few days, and in my understanding both algorithms work well in handling non-English words transliterated to English.
However the requirement that I have would be for such search to work in the original, untransliterated languages, accomodating alp...
i have a field where there are items that are plurals, and used as very specific locators, so i do a solr search type:articles, and it translates it into :
<str name="rawquerystring">type:articles
type:articles
type:articl
it gets really frustrating, is there a way i can disable this?
...
I know there are several topics on the web, as well as on SO, regarding indexing and query performance within Lucene, but I have yet to find one that discusses whether or not (and if so, how much?) creating payloads will affect query performance...
Here's the scenario ...
Let's say I want to index a collection of documents (anywhere fr...
I have created a index as
Document doc = new Document();
doc.Add(new Field("SearchKey", (item.FullTextColumn ?? item.Code), Field.Store.NO, Field.Index.TOKENIZED));
doc.Add(new Field("Type", item.Type.ToString(), Field.Store.YES, Field.Index.TOKENIZED));
doc.Add(new Field("Name", item.Name, Field.Store.YES, Fiel...
I'm Posting the following to the Solr Server:
<add>
<doc>
<field name="uniqueid">5453543</field>
<field name="modifieddate">2008-12-03T15:49:00Z</field>
<field name="title">My Record</field>
<field name="description">Descirption
Details
</field>
<field name="startdate">2009-01-21T15:26:05.680Z</field>
...
I'd like to implement a filter/search feature in my application using Lucene.
Querying Lucene index gives me a Hits instance, which is nothing more than a list of Documents matching my criteria.
Since I generate the indexed Documents from my objects, which is the best way to find the original object related to a specific Lucene Doc...
I posted this in the Nabble group also, but figured may get some advice here.
is there a way to get SOLR to search whatever index i tell it to during search time without using multiple cores?
i dont build my indexes with SOLR, i build them with my own java class, but i do use SOLR to search them later. It would be nice to tell Solr du...
Hi,
Does anybody of you guys know how to search all the numbers larget than a specified one?
for example: all the document number > 65
i tried like: documentNumber: [65 TO *] but i receive exception, as lucene expected to parse a number there not a *.
Thanks in advance!
...
I'm using Zend_Search_Lucene to create an index of articles to allow them to be searched on my website. Whenever a administrator updates/creates/deletes an article in the admin area, the index is rebuilt:
$config = Zend_Registry::get("config");
$cache = $config->lucene->cache;
$path = $cache . "/articles";
try
{
$index = Zend_Searc...
Hi all,
I have a solr instance containing documents which have a 'startTime' field ranging from last month to a year from now. I'd like to add a boost query/function to boost the scores of documents whose startTime field is close to the current time.
So far I have seen a lot of examples which use rord to add boosts to documents whom a...
I have an existing Lucene index with an indexed, unstored field.
Let's name the field longText.
I need the norm of longText for a specific calculation.
Not all the documents in the index have a longText field.
When I try to get the norm for longText from a document that does not have this field,
I always get 1.0, which is the default, bu...
Hi,
I have the following code and would appreciate your advice.
QueryParser queryParser = new QueryParser(searchTerm, analyzer);
Query query = queryParser.parse(searchTerm);
My first question is, this "doubled"? As I have the "String to search for (=searchTerm)" in the constructor as well as in the parse() method. Is this reall...